Hi,
I have several group boxes, and I want to fill the boxes with a light grey colour - can this be done?
When I try to set the colour, all it does is set the text colour.
What I'd like to do is set the area inside the group box to a colour, not the text.
Can it be done?
Thanks,
Andy.
You can do it by processing the WM_CTLCOLORSTATIC notification.
https://docs.microsoft.com/en-us/windows/desktop/controls/wm-ctlcolorstatic
I had used this to to change the text and background color of a static. The same method should work with a groupbox.
http://www.ionicwind.com/forums/index.php?&topic=6099.0
Thanks Fasecero,
I will have a look at it.
Andy.
:)