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
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
if ($DOS = minimized) { Win32::GUI::Hide($DOS); }
Try
if ($DOS-IsIconic) { Win32::GUI::Hide($DOS); }
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
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
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.
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.
7 matches
Mail list logo