|
-
Sep 15th, 2000, 02:54 PM
#1
Thread Starter
Lively Member
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.
-
Dec 4th, 2008, 08:04 AM
#2
Addicted Member
Re: Prevent Windows to redraw all windows if I use SetSysColors
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|