Hi, Garside Trevor say on win32::GUI Users list flicker problem when resize window can be remove by set default class style to 0.
In GUI.xs, RegisterClassEx : wcx.style = 0; // CS_HREDRAW | CS_VREDRAW; // TODO (default class style...) It's look better when resize main window. I don't have samples whith lot of flicker problem. So, don't know if it's sufficient. Laurent. > > > 4. Graphics objects no longer show up (DCs don't seem to support > > > WM_PRINT). > > > > > > 5. Setting WS_CLIPCHILDREN results in massive flickering (the > opposite of > > > what it used to do) and causes no background to show. > > > > Well, I don't really understand a lot of what you said, and I don't have > > any applications that flicker with the current GUI, so I guess I'd have > > to say that if *anything* gets "broken" by this "enhancement", that it > > should definitely be an "extra cost option", rather than the default. > > All my application widgets flickered when I resized the windows, especially > tree and listviews. This fix prevents the erase->redraw mentality of > Windows, which is a stupid way of doing things in the 1st place. It would be > easy to add an option "-noflicker" to all windows so that you can explicitly > say "I want to use the non-flicker drawing routines". I will do this. >