Help for this page

Select Code to Download


  1. or download this
    use Win32::GUI;
    my $hw = Win32::GUI::GetPerlWindow();
    Win32::GUI::Hide($hw);
    
  2. or download this
    use Win32::API 0.20;
    
    # just for completeness...
    ...
    # sleep one second, then show the console again
    sleep(1);
    $ShowWindow->Call( $hw, SW_SHOWNORMAL );