Thanks for the idea! That seems to be more responsive, except that the
ShellExecute command doesn't block until Acquire exits. Is there a way to
make this block?
Scott
----- Original Message -----
From: "Jeremy White" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<perl-win32-gui-users@lists.sourceforge.net>
Sent: Thursday, December 01, 2005 9:17 AM
Subject: RE: [perl-win32-gui-users] system call delayed?
I'll include the handler and the scan function below, as both are
relatively short. Note that in the DoSCAN function, the scan button
(called $scan) is disabled right before the system call. When I click the
button, it is immediately disabled. So I know it's getting to that point.
But then it doesn't do the acquire call until I do SOMETHING, ANYTHING
else.
It might be worth trying the ShellExecute method rather than the perl
system command. See
http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=reference-methods
This method is in Win32-GUI 1.02 and above I believe. Although it is more
"fiddly" than system, it's a direct interface into the win32 API
ShellExecute, and has most of the functionality. As ShellExecute is
associated with your window, it might solve your issue.
Cheers,
jez.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/