[EMAIL PROTECTED] <> wrote: > Hi all, > I've a small problem when I use Win32 dialog boxes like > Win32::FileOP::OpenDialog or Win32::MsgBox in Perl/Tk applications. > When the Win32 dialog appears, the Perl/Tk Windows are not refreshed. > I think the main loop is interrupted during the Win32 function is > executed. > > Does somebody know a method to refresh the Perl/Tk windows during > execution of Win32 dialog boxes?
If you use the Tk equivalents then it should work. Tk is single threaded so I would not expect it to be able to keep its widgets up to date while a callback is blocked calling a completely unrelated function. Calling Tk::Dialog::Show, for example (I believe that the Tk equivalents are based on Tk::Dialog), in a callback at least allows Tk to continue updating widgets based on other events, e.g. file or 'after' events. HTH -- Brian Raven ================================= Atos Euronext Market Solutions Disclaimer ================================= The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions. L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions. _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
