[perl-win32-gui-users] Resize Flicker

2003-04-01 Thread Garside, Trevor
I am trying to figure out how to keep my window from flickering like crazy whenever I resize it. The best I can tell, the flicker is caused because the window itself is re-drawing its gray background before the other widgets redraw. Has anybody come up with a good solution to this problem? Th

[perl-win32-gui-users] How can I show a "please wait" window?

2003-04-01 Thread Burak Gürsoy
I'm fetching data from several sites when the program starts and the main window freezes. How can I show a "Please stand by..." window and then close it when the job is done? I've tried to open a new window but $W->CloseWindow just minimizes it and I couldnt find a way to close it. Also, is there a

RE: [perl-win32-gui-users] Unresponsive Window

2003-04-01 Thread Garside, Trevor
You need to check the return code of fork(). Here's a sample Click event that forks to do its calculating: sub Button1_Click { my $pid = fork(); die "Fork failed: $!" if not defined $pid; if ($pid == 0) { do_stuff(); exit; } } Now, whenever the button is clicked, a child process i

Re: [perl-win32-gui-users] Unresponsive Window

2003-04-01 Thread Joseph . Vieira
I'm still confused about how to use fork to keep the window from locking up. When the script makes the connection to the server it sits their waiting for a response. Which means you can't do anything to the window, move it, minimize it, resize it, go to another window (word, ie, etc..), until you

Re: [perl-win32-gui-users] Unresponsive Window

2003-04-01 Thread Glenn Linderman
On approximately 3/31/2003 2:59 PM, came the following characters from the keyboard of [EMAIL PROTECTED]: Hello, I have a script that gives the user options of which application to run on a server from a drop down box, then when they pick the option and hit an execute button the script opens a s