Re: [perl-win32-gui-users] DOS Window minimized?

2006-04-06 Thread Roger Mayfield
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Roger Mayfield ok, I found a method within the Win32::GUI called IsVisible to test whether the window is visible or not, but this means whether the window is hidden or

Re: [perl-win32-gui-users] DOS Window minimized?

2006-04-06 Thread Roger Mayfield
Glenn Linderman wrote: Console is the correct name for what you are calling a DOS window. That might help you find relevant documentation. However, consoles are quite different in behavior than other windows, apparently even having their own process to handle them, and the message sequence

RE: [perl-win32-gui-users] DOS Window minimized?

2006-04-06 Thread Peter Eisengrein
if ($DOS = minimized) { Win32::GUI::Hide($DOS); } Try if ($DOS-IsIconic) { Win32::GUI::Hide($DOS); }

RE: [perl-win32-gui-users] DOS Window minimized?

2006-04-06 Thread Jason Brunette
You are the man! That worked! Now, can someone further explain what an Iconic window is? I would have never had thought that Iconic meant minimized and if I did, I could have found this solution by googling Iconic I'm sure. In Windows 3.1 and earlier, running programs minimized to icons

[perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Roger Mayfield
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Roger Mayfield

RE: [perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Jeremy White
I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Yes. If you want to remove the DOS window during development of a script, you can run it via the command wperl rather than with the command perl. Cheers, jez.

Re: [perl-win32-gui-users] DOS Window minimized?

2006-04-05 Thread Roger Mayfield
Jeremy White wrote: I know you can test if a Win32::GUI window has been minimized, but can you run a sub if a DOS window has been minimized? Yes. If you want to remove the DOS window during development of a script, you can run it via the command wperl rather than with the command perl.