It works but still gives an error when I exit using the exe version. Maybe
I should give up on the exit thing and let people click on the windows X to
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 = 1;
while ($EventLoop) {
#some code...
Win32::GUI::DoEvents() while Win32::GUI::PeekMessage(0,0,0);
}
sub Exit_Click { $EventLoop = 0; }
Forget that Enable thing, it's cleaner with a dedicated variable. I just
wanted to connect my solution to your existing code, I don't know what
other stuff you were doing with the window's Enable status.
/J
------ ---- --- -- -- -- - - - - -
Johan Lindström Boss Casinos
Sourcerer [EMAIL PROTECTED]
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
Perl-Win32-GUI-Users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
--
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤
¤°`°Lightbridge, Inc
¤°`°67 South Bedford St.
¤°`°Burlington MA 01832
¤°`°781.359.4795 mailto:[EMAIL PROTECTED]
¤°`°http://www.lightbridge.com
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤