ListCtrl: Why is the image not displayed?
Hi
In my list control (report) I use an image list. It is 20 x 100 pixels (5 images). The image list works fine for the 1st col (iSubItem = 0).
But now I'd like to set one of the images for the 2nd col (iSubItem = 1). Therefore I use the LVIF_IMAGE flag and set the number of the image. Then I call SetItem() which is executed successfully. But the image isn't displayed.
What could be the reason? Any ideas?
The list control is a derieved class and is created dynamically. Every image works for the 1st col, none for the 2nd. There's just the empty cell.
Many thanks in advance!
Holi