group box font colour (Form Designer)
At 17 NOV 2011 06:17:11AM Barry Stevens wrote:
How can you retain the font colour for a Group Box when the form is run in Vista or Win 7.
At 17 NOV 2011 10:55AM Carl Pates wrote:
Hi Barry,
Short answer is you can't - MS fixed the colour of many controls when run under themes - after all, you wouldn't want to ruin all that hard work by the theme designers now would you?
Long answer is you need to use a custom control or subclass the groupbox and handle the painting yourself…
Carl
At 17 NOV 2011 12:39PM Carl Pates wrote:
… Of course you can try turning off the theme for that group box as per the post I made recently, but it might look odd in the context of the other controls …
At 17 NOV 2011 05:19PM Barry Stevens wrote:
Tried that, it didnt seem to work.
I will bold them then maybe italics, thanks.