Re: DoEvents Alternatives



"Uwe Sieber" <mail@xxxxxxxxxxxxx> wrote in message
news:50n3gpF1go2gvU1@xxxxxxxxxxxxxxxxxxxxx
That's no good idea. Windows Vista assumes an Application as
frozen when it not processes messages for some seconds (I think
five seconds). It paints the window in white then until it
processes messages again.

Of course. The correct solution for vb6 is to continue using doevents and
set a flag to ignore the events that are not wanted, and/or disable all the
appropriate controls and also handle the case of the form being closed plus
solve the problem with the transparent control. The alternative is to use a
thread but this can be complicated in vb6.

Michael


.