WinHide

Hides a window.

Syntax:

WinHide (partial-winname)

Parameters:

(s) partial-winname either an initial portion of, or an entire window name. The most-recently used window whose title matches the name will be hidden.

Returns:

(i) @TRUE if a window was found to hide. @FALSE if no windows were found.

 

Use this function to hide windows. The programs are still running when they are hidden.

A partial-window name of "" (null string) hides the window making the current call to the WIL Interpreter.

This function works only with top-level (parent) application windows.

Example:

DirChange(DirWindows(0))
Run("notepad.exe", "")
WinHide("~Notepad")
TimeDelay(3)
WinShow("~Notepad")
See Also:

RunHide, WinClose, WinIconize, WinPlace, Partial Window Names, IntControl 46