Thanks for the reply...WM_CTLCOLORSTATIC worked first time.
Declared at the beginning of the message handler:
HBRUSH hBackground = CreateSolidBrush(RGB(0, 0, 0));
Type: Posts; User: Matt-Stevens
Thanks for the reply...WM_CTLCOLORSTATIC worked first time.
Declared at the beginning of the message handler:
HBRUSH hBackground = CreateSolidBrush(RGB(0, 0, 0));
Hi people,
I was just wondering how do you change the background text colour (on the caption) on a group box control? aswell as the font and text colour itself.
This is how I create a group box:...
keybd_event(VK_CAPITAL, 0, 0, 0); // this turns caps on
keybd_event(VK_CAPITAL, 0, KEYEVENTF_KEYUP, 0); // this turns caps off
wow, thank you so much. I wasn't expecting a reply that fast, especially one as informative and easy to understand as yours. I initialised cyClient in WM_SIZE and from now on I will not print below...
Hi guys, sorry my first post here is a question with a load of code...I'll pay you guys back ;).
So, here is my question...I have been reading Petzold's book (Programming Windows - Fifth Edition)...