All,
I've just tried the below code:
From: "Garside, Trevor" <[EMAIL PROTECTED]>
A while back, I changed my Win32::GUI 0.558 sources and achieved
flicker-free resize. Here's what I did:
CHANGE LINE 4059 FROM: wcx.style = CS_HREDRAW | CS_VREDRAW; // TODO
(default class style...)
TO: wcx.style = 0;
And it does remove the complete redrawing of the window during a resize
(that white/grey flash). I believe most applications would benefit from this
change. For those that would have issues with the change, you could manually
apply the style.
For future builds can these styles be options rather than hard coded in?
http://www.codeguru.com/mfc/comments/4319.shtml
http://www.catch22.org.uk/tuts/flicker.asp
http://www.microsoft.com/msj/0797/c0797.aspx
For ultra smooth resizing we need double buffering though....
Cheers and thanks Trevor,
jez.
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger