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
| 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
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
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
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(
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 :)
>
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:
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
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
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
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
11 matches
Mail list logo