RE: [perl-win32-gui-users] Awaiting modal window closure

2004-12-09 Thread Brian Millham
If you use DoModal(1), then other open windows are no longer active. That seems to work well, except that I've noticed that ComboBoxes don't work properly. They are greyed out. (I'm using the GUI Loft to create my forms, so maybe it's an interaction with that. I haven't tested it otherwise.) B

Re: [perl-win32-gui-users] Awaiting modal window closure

2004-12-09 Thread Laurent ROCHER
Hi, With Win32::GUI 1.0, modal dialog are more easier to use. You only need too call DoModal. Laurent See Sample below : use strict; use Win32::GUI; my $MainWindow = Win32::GUI::Window->new( -text => "Main", -name => "MainWindow", -pos => [ 200, 200 ],

RE: [perl-win32-gui-users] Awaiting modal window closure

2004-12-09 Thread Harris, Robert
Mark, Your problem is much like one that I required a solution to, so using the example below I attempted a number of different resolutions, threads, api calls, process calls, in the end the resolution was much more straight forward. # Counts to 25 with an "error" at 20 # Perl v5.8.4 built for MS