You have to handle this as part of the WM_CTLCOLORSTATIC message.
In the WM_COMMAND handler set a flag and invalidate the control.
In the WM_CTLCOLORSTATIC handler check the flag and return the required brush.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |