Humm - for some reason I'm not getting all messages to this list - anyone else have that problem? The archive is also not up to date...

I missed the start of the thread - Anyway my 2 cents....

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.

This is the 'fix' that I have been using for a while, and works well in most simple cases. However you can get horrendous striping when reducing the size of a window - the GUI Loft being one example. In my case I had one window which suffered this problem, I just had to create a class with CS_HREDRAW | CS_VREDRAW and suffer the flickering.

> > > 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.

I like the idea of the "-noflicker" option (assuming you can turn it on and off during runtime). If it works with no cost, then perhaps it could become the default in future versions? Flicker free resizes are so *much* better.

Looking forward to seeing this fix in action.

Cheers.

jez.

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess


Reply via email to