From: Louis B. <lb...@li...> - 2001-07-02 13:56:25
|
It works but still gives an error when I exit using the exe version. Maybe= =20 I should give up on the exit thing and let people click on the windows X to= =20 exit. Louis At 03:41 PM 7/2/2001 +0200, Johan Lindstrom wrote: >Louis wrote: >>So are you saying something like this??? >-snip- > >More like: > >my $EventLoop =3D 1; >while ($EventLoop) { > #some code... > Win32::GUI::DoEvents() while Win32::GUI::PeekMessage(0,0,0); >} > >sub Exit_Click { $EventLoop =3D 0; } > > >Forget that Enable thing, it's cleaner with a dedicated variable. I just=20 >wanted to connect my solution to your existing code, I don't know what=20 >other stuff you were doing with the window's Enable status. > > >/J > >------ ---- --- -- -- -- - - - - - >Johan Lindstr=F6m Boss Casinos >Sourcerer jo...@ba... > http://www.bahnhof.se/~johanl/ >If the only tool you have is a hammer, >everything tends to look >like a nail > > >_______________________________________________ >Perl-Win32-GUI-Users mailing list >Per...@li... >http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users -- =A4=A4=BA=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0= =BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=A4 =A4=B0`=B0Lightbridge, Inc =A4=B0`=B067 South Bedford St. =A4=B0`=B0Burlington MA 01832 =A4=B0`=B0781.359.4795 mailto:lb...@li... =A4=B0`=B0http://www.lightbridge.com =A4=A4=BA=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0= =BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=A4 |