> 
> if ($DOS = minimized) { Win32::GUI::Hide($DOS); }
> 

Try 

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

Reply via email to