obot74639
11-25-2006, 12:50 PM
HowcouldI affect the color of the option and checkbox control, like I can do fore/backcolor, but I want to also affect the check box color, or the option donut hole color. I have some dark interfaces, and those controls glare like flashlights, and I want to try to color them like the other controls, in a way. Any idea how to color a checkbox 'checkbox'?
Thanks
MikeJ
11-25-2006, 01:33 PM
Alas, not easily. You will have to subclass to find the WM_PAINT message, and then totally disregard it to create your own styles. In this article from the EliteVB Archive, Garrett Sever shows how to subclass to create your own control. It's going to take a lot of subclassing though, I'm afraid.
http://www.xtremevbtalk.com/showpost.php?p=1011706&postcount=6
Roger_Wgnr
11-27-2006, 07:44 PM
Just a quick point about this.
The color of the Option/Check box face is controled by the windows desktop setting.
If you change your Display Properties > Apperance > Window text it will change the color of the checkbox/option donut.