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 though you want to use the GUI  module to provide
a status window.  This can be done by replacing the Win32::GUI::DoEvents()
calls with $TransferBox->Update()

Hope this is what your trying to do.

Kev.




Jeremy Aiyadurai <[EMAIL PROTECTED]>@lists.sourceforge.net on 23/04/2001
21:18:29

Please respond to perl-win32-gui-users@lists.sourceforge.net

Sent by:  [EMAIL PROTECTED]


To:   perl-win32-gui-users@lists.sourceforge.net
cc:

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



Hello all

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

I have not done win32::Gui programming before so your help is always
appreciated.

See the script attached.

Thankyou

Jeremy




Reply via email to