From: Evan R. <er...@ii...> - 2007-04-13 04:46:23
|
<HTML> Hi,<BR> <BR> I have a perl program where I:<BR> <BR> foreach (items in a list):<BR> <BR> and in each iteration, a whlie loop<BR> <BR> end foreach.<BR> <BR> The while loop might take several minute<BR> <BR> The wxperl window is completely unresponsive while this all runs. I h= ave put a "$mainWindow->Update()" which executes in each iteration of &n= bsp;while, hoping to allow control of the window, but that just makes the s= creen repaint. So everything on the window is perfectly clear (without the = update, it just "blanks out"), but I can't bring the window forward from th= e task bar, I can't move the window from the title bar, I can't minimise th= e window etc etc etc etc.<BR> <BR> How can I make the window available for moving and accessing from taskbar e= tc? It's like there is an invisible modal dialog box that won't allow = access to its parent. I have a log window which refreshes ok. I= have a progress box which runs earlier which I destroy (and know exi= ts cleanly - without the foreach/while loop above I get control of the wind= ow back.)<BR> <BR> What can I do?<BR> <BR> Thanks.<BR> <BR> Evan.<BR> <BR> </HTML> <BR>= |