[perl-win32-gui-users] RE: [perl-win32-gui-users]FTP-Status download cancel event

2001-04-24 Thread Jeremy Aiyadurai
At 02:54 PM 24/04/2001 -0700, you wrote: Hi, You may want to see my script attached. I still don't quite understand how to get the cancel to work while download is in progress. I always appreciate your help, as I am new to gui development. thankyou. Jeremy >| is there a way for it to listen

RE: [perl-win32-gui-users] FTP-Status download Gui-program

2001-04-24 Thread Piske, Harald
| is there a way for it to listen while it downloads for the | cancel event? Your sub Cancel_Click should NOT exit, however, the exit statement is never reached due to the return. Return -1 is correct, this is how you tell the GUI to end the message loop. Now the message loop exits back into your

Re: [perl-win32-gui-users] FTP-Status download Gui-program

2001-04-24 Thread Jeremy Aiyadurai
At 04:33 PM 24/04/2001 -0400, you wrote: Johan, Thankyou for your help so farit was a careless error that nothing to do with the gui aspect...I got the download status working.. I have readded the DoEvents(), but i cannot get the cancel button "kill" to work. the kill should work in the mid

Re: [perl-win32-gui-users] FTP-Status download Gui-program problem continues

2001-04-24 Thread Johan Lindstrom
Jeremy wrote: I still cannot get my script to work with the gui windows, when the gui sub routine gets called and the windows gets created, the program freezes and script does not continue As suggested by some I have gotten rid of the Dialog() call, There is one more place where it should be r

[perl-win32-gui-users] FTP-Status download Gui-program problem continues

2001-04-24 Thread Jeremy Aiyadurai
Hello all I still cannot get my script to work with the gui windows, when the gui sub routine gets called and the windows gets created, the program freezes and script does not continue As suggested by some I have gotten rid of the Dialog() call, and have replaced the DoEvents() call with Update(

Re: [perl-win32-gui-users] Gui-program problem

2001-04-24 Thread Anthony C. George
doh! didn't see the attachment from the webclient I was using! sorry... >tony - Original Message - From: "Anthony C. George" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 24, 2001 9:28 AM Subject: Re: [perl-win32-gui-users] Gui-program problem > Also a code segment is always helpful :) >

[perl-win32-gui-users] Modal dialog box - how?

2001-04-24 Thread Johan Lindstrom
Is there a way to create a "real" modal dialog box using Win32::GUI? In the sample apps, the solution that comes closest is to Disable the main window, Show the dialog window and then Enable the main window again when the dialog is closed by the user. There are two drawbacks with this method:

Re: [perl-win32-gui-users] Gui-program problem

2001-04-24 Thread Johan Lindstrom
Jeremy wrote: I can't get my script to work with the gui windows, when the gui sub routine gets called and the windows gets created, the program freezes and script does not continue After a quick look, this is the problem: In the sub CreateProgressWin you create the window and then call Win32

Re: [perl-win32-gui-users] Gui-program problem

2001-04-24 Thread Anthony C. George
Also a code segment is always helpful :) >tony - Original Message - From: "Jeremy Blonde" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 24, 2001 9:26 AM Subject: RE: [perl-win32-gui-users] Gui-program problem > When the gui window is created the program enters a messaging loop. It > pr

RE: [perl-win32-gui-users] Gui-program problem

2001-04-24 Thread Jeremy Blonde
When the gui window is created the program enters a messaging loop. It processes events that the gui window fires off. If you create a gui window but don't fire off any events the program won't do anything. You need to fire off an event so that your script can process the rest of your script. Yo

Re: [perl-win32-gui-users] Gui-program problem

2001-04-24 Thread Kevin_ADM-Gibbs/Alcan
Jeremy, The Win32-Gui module is normally used in an event driven mode. When you call Win32::GUI::DoEvents() (or Win32::GUI::Dialog()) you pass control over to the event handler. Control is only passed back to your script when a Gui event (mouse or keyboard actions) occurs. It looks to me as thou