When an item is clicked in the checkedlistbox, it gets highlighted. How can I prevent this highlighting effect?
I can hook into the SelectedIndexChanged event and clear the selection, but the highlighting still happens and you see a blip. In fact, if you hold down the mouse click, never releasing it after you clicked on the checkbox area, the selection remains highlighted until you release the mouse button. I basically want to get rid of this highlighting effect altogether.
this will do it apart from you still get the dotted line bit.
although now you can’t click the check boxes… so you’ll have to do something like so:
if all that isn’t what your after.. you can always just make your own one. its a fairly simple control.