The selected color is a system user setting and, as such, should
probably be left as the user has chosen. If you really feel you
*must* override the user's setting, you can subclass the WM_CUSTOMDRAW
message for the control and draw the selection in whatever color you
choose.
HTH,
Bryan
____________________________________________________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
alpine_don'(e-mail address removed) Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
Nop, the BackColor is the color of Background, not the color of selection.
I have try your solution, and all my tree was Pink ) (always use uncomon
color to find easily the affected zone)
Thanks anyway.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.