May 10, 2024, 04:26:25 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


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