|
From: Mark D. <mar...@zn...> - 2007-04-13 16:38:31
|
Hi, Yes, both the following are available: Wx::wxSafeYield(); Wx::wxTheApp->Yield(); so whichever is more suitable could be chosen. Regards Mark Eriam Schaffter wrote: > Actually, I dont know ? > > Thanks > > Guillermo Torreiro a écrit : >> What about making a call to wxSafeYield() ? >> Is it available from wxPerl ? >> >> Best Regards, >> GT >> >> >> On 4/13/07, Eriam Schaffter <er...@er...> wrote: >>> Evan Read a écrit : >>>> The wxperl window is completely unresponsive while this all runs. I >>>> have put a "$mainWindow->Update()" which executes in each iteration of >>>> while, hoping to allow control of the window, but that just makes the >>>> screen 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 the task bar, I can't move the window from the >>>> title bar, I can't minimise the window etc etc etc etc. >>>> >>>> How can I make the window available for moving and accessing from >>>> taskbar etc? 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 exits cleanly - without the foreach/while loop above I get >>>> control of the window back.) >>>> >>>> What can I do? >>> Hello >>> >>> You can use threads or eventually setup your loops in a POE session. >>> Depending on what you feel confortable with. >>> >>> There is a sample of threads and Wx on cpan (Wx::App::Mastermind) that >>> Mattia wrote and there are samples of POE and Wx usage on cpan aswell >>> written by Mike (in POE::Loop::Wx). >>> >>> Good luck and I kindly remind that the wxPerl IRC channel is still alive >>> (on irc.perl.org) and that it's another place to get help and discuss >>> wxPerl. >>> >>> Thank you. >>> >>> Eriam >>> >>> >>> >>> ------------------------------------------------------------------------- >>> >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >>> share your >>> opinions on IT & business topics through brief surveys-and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> >>> _______________________________________________ >>> wxperl-users mailing list >>> wxp...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxperl-users >>> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users |