At 16:51 2002-10-17 -0400, Morbus Iff wrote:
>Using 0.0.558, I call Win32::GUI::DoEvents() manually from a main loop . I

I've noticed it as well. I just check to see if I've $already_called:

 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/amphetadesk/AmphetaDesk/
 lib/AmphetaDesk/OS/Windows.pm?rev=1.7&content-type=text/vnd.viewcvs-markup

Great, thanks!

It's too bad it's needed but it works, so long as the two events come sufficiently close to each other so the sub doesn't have time to exit.

sub ::mnu_tray_config_open_Click {
        return(1) if(!$workaround_handler_semaphore++);

        system("start $program_editor $file_user_prefs");

        $workaround_handler_semaphore = 0;
        return(1);
}


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "Atari Icon Library"
http://aicq.atari-users.net/iconz/
dmoz (1 of 2): ...Computers/Software/Desktop_Customization/Icons/ 137



Reply via email to