04-16-2013 12:20 PM
Hi,
Is it possible to change the highlight hint color on a tab control? What I'm refering to is the orangeish color that shows up at the top of the active tab on a tab control, as seen in the screenshot. I can't find an attribute for this, nor can I seem to be able to paint it in the UI editor. Oddly I'm only seeing this in Windows 7 - it does not seem to show on Windows XP.
Thanks.
Solved! Go to Solution.
04-16-2013 12:48 PM
See here, I hope it helps a bit...
04-16-2013 02:04 PM
Thanks for the information. I didn't see that post in my search. It would seem that the answer to my question is the color can't be changed without messing around with the current theme in Windows. I guess it is what it is then.
04-17-2013 02:54 PM - edited 04-17-2013 02:55 PM
The pic you posted is the way the tab control draws when the panel attribute ATTR_CONFORM_TO_SYSTEM_THEME is turned off.
On Windows 7, when ATTR_CONFORM_TO_SYSTEM_THEME is turned on, the tab control draws like this:
To answer your question about if you can change the orangish color, the answer is no.
04-18-2013 09:16 AM
Thanks for the help. I ended up having to turn off the ATTR_CONFORM_TO_SYSTEM_THEME because the users didn't like how the tabs backgrounds were drawn with a lighter color (admittedly I think it's kind of ugly too) despite ATTR_BACKCOLOR showing the "correct" color. Sometimes I guess you just can't win.