May 01, 2024, 04:24:57 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Listview selection/selected colors

Started by billhsln, May 19, 2011, 10:02:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

Is there a way to change or set the colors when a row is selected in a Listview.  I am using '@LVSSHOWSELALWAYS' and when a row is selected it shows up greyed, when I switch off it, it ends up white.  I would like to be able to set each condition, if possible.  The grey is ok, but I would mostly like to be able to change to some other color other than white.

Thanks,
Bill
When all else fails, get a bigger hammer.

LarryMc

The listview-noresize.iwb example that comes with IWB shows you how to do that.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library