X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FWin32.pod;h=95f7562e5e2fd1dcd89b8e06778f27d79453eeb0;hb=f6d6199cd6711f5e8a8e6c1a57445fa6f848c822;hp=842e484fc671a97ed6a7affd437152f01b07e4fa;hpb=0e06870bf080a38cda51c06c6612359afc2334e1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Win32.pod b/lib/Win32.pod index 842e484..95f7562 100644 --- a/lib/Win32.pod +++ b/lib/Win32.pod @@ -253,6 +253,20 @@ The function returns the menu id of the selected push button: [EXT] Loads the DLL LIBRARYNAME and calls the function DllRegisterServer. +=item Win32::SetChildShowWindow(SHOWWINDOW) + +[CORE] Sets the I of child processes started by system(). +By default system() will create a new console window for child +processes if Perl itself is not running from a console. Calling +SetChildShowWindow(0) will make these new console windows invisible. +Calling SetChildShowWindow() without arguments reverts system() to the +default behavior. The return value of SetChildShowWindow() is the +previous setting or C. + +[EXT] The following symbolic constants for SHOWWINDOW are available +(but not exported) from the Win32 module: SW_HIDE, SW_SHOWNORMAL, +SW_SHOWMINIMIZED, SW_SHOWMAXIMIZED and SW_SHOWNOACTIVATE. + =item Win32::SetCwd(NEWDIRECTORY) [CORE] Sets the current active drive and directory. This function does not