|
-
Aug 5th, 2010, 11:50 AM
#1
Thread Starter
Lively Member
change color of selection bar of listbox
how to change color of selection bar of listbox
-
Aug 5th, 2010, 12:19 PM
#2
Re: change color of selection bar of listbox
The colors used are system colors. In order to tweak colors, one of 4 possibilities?
1) Change the system color for selected items but it will affect every window in every app that uses that system color
2) Subclass the listbox and try to draw the list item yourself. Very advanced.
3) Create a custom control that allows you to do the drawing.
4) Maybe use a different control? There are topics on this forum for changing row colors of a ListView control.
-
Aug 5th, 2010, 12:25 PM
#3
Thread Starter
Lively Member
Re: change color of selection bar of listbox
can we do this with code
give me example ... please
-
Aug 5th, 2010, 02:04 PM
#4
Re: change color of selection bar of listbox
Search the forum for "subclass listbox".
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
|