Peter Eisengrein wrote:

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.

Well, actually I had to change it because GetPerlWindow() doesn't return an object, just a handle I had to use this within the #Main Loop:

if (Win32::GUI::IsIconic($DOS)) { Win32::GUI::Hide($DOS); }


Roger Mayfield

Reply via email to