PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: John Montenigro on June 26, 2015, 04:40:00 PM

Title: Need better contrast in ListView row highlight
Post by: John Montenigro on June 26, 2015, 04:40:00 PM
Listviews seem to be my biggest challenge!!!!

OK, when the user clicks a row, we see a nice blue highlight. But as soon as the user clicks in another control (eg textbox), the ListView highlight goes dim - SO dim that it's hard to see. I'm using the (ugly) Win7 standard theme - light tan with light grey and light white...all very pale and washed-out-looking...

I know nothing about changing themes, and really don't want to get into that area if there's a simpler way available.

Is there any way to simply change the LV highlight so that it stays visible even when the LV loses focus?

Thanks,
-John
Title: Re: Need better contrast in ListView row highlight
Post by: Wilko Verweij on June 27, 2015, 04:54:24 PM
Hi John,
You can change the color of a listview exactly the way you want it. I guess the example program you got in the other thread is able to do that as well. If not, I can point you to other posts, e.g. my post about a year ago where Jose posted an example of that.
Wilko
Title: Re: Need better contrast in ListView row highlight
Post by: John Montenigro on June 27, 2015, 10:15:39 PM
Thanks, Wilko!
I've started to study the example provided by Klass, but it will take me awhile to understand it.

Meanwhile, if you provide the pointer to the thread you mentioned, I'd appreciate it!

Thanks,
-John
Title: Re: Need better contrast in ListView row highlight
Post by: Wilko Verweij on June 28, 2015, 03:22:25 PM
You can find the thread that I meant here:

http://www.planetsquires.com/protect/forum/index.php?topic=3312.msg24160#msg24160

But you should also have a look at Jean-Pierre Leroy's code:

http://www.planetsquires.com/protect/forum/index.php?topic=2026.msg19052#msg19052

Success,
Wilko