[DUG] Listview selected highlight

Ross Levis ross at stationplaylist.com
Thu Nov 29 23:32:24 NZDT 2007


Anyone know if it's possible to prevent a listview from showing the selected
highlight colour on selected items?

 

I want to display a specific brush colour depending on the type of item,
which I do with OnCustomDrawItem, but the colour only displays when I move
the focus away from the listview.  It goes back to the usual blue colour
when the listview gets the focus again.

 

I'm trying to find a Windows parameter to use in CreateParams, or even
modify the ComCtrls unit if necessary, but I can't a way to do it.

 

Thanks,

Ross.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20071129/eacecd8f/attachment.html


More information about the Delphi mailing list