Hi
I have been trying to solve this annoying problem for a day now, I dont want to waste any more time if what I need is not realistically acheivable.
I have a listview, the first column contains a checkbox with no text.
I have linked an imagelist to the listview (at runtime) to give me access to up and down arrow glyphs for the column sort header.
This works but as soon as I link the imagelist to the listview, the checkbox column also loads the first glyph from the list (as well as the column header).
I can remove this image from the checkbox column by setting the imageindex to -1 BUT even with it removed, the checkbox is still offset inside the list item, this means that a small part of the checkbox is missing (pushed upwards slightly).
Can I remove this behaviour of the checkbox column item, so only the column headers can access the imagelist?
Dan
Can I remove any ability for tyhe checkbox column to hold the image
I have been trying to solve this annoying problem for a day now, I dont want to waste any more time if what I need is not realistically acheivable.
I have a listview, the first column contains a checkbox with no text.
I have linked an imagelist to the listview (at runtime) to give me access to up and down arrow glyphs for the column sort header.
This works but as soon as I link the imagelist to the listview, the checkbox column also loads the first glyph from the list (as well as the column header).
I can remove this image from the checkbox column by setting the imageindex to -1 BUT even with it removed, the checkbox is still offset inside the list item, this means that a small part of the checkbox is missing (pushed upwards slightly).
Can I remove this behaviour of the checkbox column item, so only the column headers can access the imagelist?
Dan
Can I remove any ability for tyhe checkbox column to hold the image