Indentation/Column-specific image lists in a List View Control
-
Hello ! I have a standard Win32 List View Control that uses two image lists, one for the item icons and one for the state image icons. Everything is working smooth and correct with all items. My control does not need an item icon for the first column at all, only the state icons. However, I cannot seem to find a way to actually remove the item icons. If I set the item icon index to -1, then no icon is displayed, but the item is still indented inwards by the width of the icon. Setting the iIndent variable to a negative value does not solve the problem. Any suggestions ? How can I tell the List View that the first column only uses state icons, and that each item in the first column should only be indented once to allow putting a state icon there, if necessary ? - Antti Keskinen
------------------------------ Programming Windows is like a box of assorted chocolates. You never know what you're going to get.