Click to See Complete Forum and Search --> : ListCtrl


Trevor Lewis
April 1st, 1999, 06:55 AM
I want to set an image in the 3rd and 5th columns of my list control, however if I use the small image list the icon appears next to the 1st entry and not the one I want. Can anyone suggest what to do here.

Wanton Killer
January 17th, 2000, 11:20 PM
Hi Trevor,

You could overcome your problem by using CListCtrl::SetItem member function to set the individual item's properties, rather than using CListCtrl::SetImageList.

Good Luck

Jens Schacherl
January 18th, 2000, 03:26 AM
... and you've set the style LVS_EX_SUBITEMIMAGES and your COMCTRL32 version is >= 4.7?
Then you should be able to set the item images in other columns via SetItem.

HTH, Jens