How to set a individual row-picture (Bitmap) in ClistCtrl ?
-
Hi I`m in trouble with setting a bitmap in any row I want in ClistCtrl. I have no problem to make a ImageList, but it put the same bitmap in every row. I need to put any bitmap in any row I want. The CListCtrl was made by MFC-Wizzard. Can anybody help me ? thanks, Sascha
-
Hi I`m in trouble with setting a bitmap in any row I want in ClistCtrl. I have no problem to make a ImageList, but it put the same bitmap in every row. I need to put any bitmap in any row I want. The CListCtrl was made by MFC-Wizzard. Can anybody help me ? thanks, Sascha
-
Hi I`m in trouble with setting a bitmap in any row I want in ClistCtrl. I have no problem to make a ImageList, but it put the same bitmap in every row. I need to put any bitmap in any row I want. The CListCtrl was made by MFC-Wizzard. Can anybody help me ? thanks, Sascha
I'm not sure, but I think that if you don't set an image explicitly for an item it gets the first from the imagelist. Be sure to pass LVIF_IMAGE to SetItem in the 'mask' argument only for those items you want to have images. I have no other ideas.