-
Sep 8th, 2014, 07:07 AM
#1
Thread Starter
New Member
Listview control help: Header and selected line color
Hello all,
I have serached the forum but I can not find if it is possible to change the color of the header and the slected line ? I do not want this blue as the color of the selected line.
Per
-
Sep 8th, 2014, 09:09 AM
#2
Re: Listview control help: Header and selected line color
For the headers: No Idea. Probably to do with systemcolors and/or color-themes
For the selected line: if i remember correctly, there are several color-properties for the ListView. I'd check out some of those. If it doesn't work it's probably systemcolors again
Last edited by Zvoni; Tomorrow at 31:69 PM.
----------------------------------------------------------------------------------------
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------------------
People call me crazy because i'm jumping out of perfectly fine airplanes.
---------------------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
-
Sep 8th, 2014, 08:39 PM
#3
Re: Listview control help: Header and selected line color
I don't know about the header colour but the selected line colour comes from the system colours.
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
-
Sep 8th, 2014, 09:52 PM
#4
Re: Listview control help: Header and selected line color
Why not just make use of the Common Controls version 6.0 assembly to give your ListView a less "caveman" look and call it good?
Example
Aside from that about all you can do is roll your own substitute, look for a 3rd party "skinnable" control, or dig under the covers and owner-draw everything.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|