On 27 Jun 2001, at 1:58, Johan Lindstrom wrote:

> This is where you call DoEvents() to give the GUI a chance to handle
> messages and respond to user interaction every once in a while. Do
> this "as often as possible" to give the impression that the GUI is
> always listening to user interaction.

So are you suggesting soemthing like this?

sub SomeButton_Click
{
        # first part of long piece of code
        Win32::GUI::DoEvents;
        # second part of long piece of code
        Win32::GUI::DoEvents;
        # third part of long piece of code
        Win32::GUI::DoEvents;
        # fourth part of long piece of code
}

> BTW, most of this has been said before a few times. Browse the
> archives for more info.

I would, but they haven't been working for a long time (for example, 
a search on 'Win32::GUI' returns nothing (even tried searching on 
each part separately, and without capitalization, etc.), even though 
I'm fairly confident that that term is somewhere in one of the posts.

Reply via email to