Hi..
I use SetSysColors to play with the Active caption colors but every time I change the colors Windows redraws every item on the screen and you can se it. It kind of blinks.
Printable View
Hi..
I use SetSysColors to play with the Active caption colors but every time I change the colors Windows redraws every item on the screen and you can se it. It kind of blinks.
There are 2 ways i can think you could get around this issue:
1) Use 'SendMessage(desktophandle, WM_SETREDRAW, True, 0)' to prevent certain desktop items from being re-drawn temporarily.
2) Send the 'WM_SYSCOLORCHANGE' message directly to the window you wish to change the colour off. This will mean only one window colour will change rather than all desktop windows. This may prevent the flicker from occuring