|
-
February 25th, 2000, 07:50 PM
#1
Changing The Selection Color of Listbox
how can i change the color of the backround on the item you have selected in a listbox? It's not one of the properties in the listbox itself, is there some way i can subclass this in?
-
February 26th, 2000, 01:44 AM
#2
Re: Changing The Selection Color of Listbox
It is Windows Color scheme. You can change it from Control panel. and it wil affect all applications. (and all selections, in every other "normal" control )
You can ofcourse do it with subclassing for this listbox only!.
You need to paint the item in different color. Take a look at the code in articles section: - Non-Selectable listitems ( by .. well.. me!).
http://codeguru.developer.com/vb/articles/1834.shtml
You can take the idea from there.
RK
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
|