MinimizeWindow
Windows management function.
The MinimizeWindow function minimizes the specified window.
Syntax
MinimizeWindow(<window_name> [,<instance>])
or
ret=MinimizeWindow(<window_name> [,<instance>])Parameter
<window_name>, window name of the window to minimize.
<instance>, optional parameter, instance number of the window to minimize.
Return value
Ret, numeric return code. When successful, the function returns 0 and the window icon is displayed in the taskbar, otherwise use this return code for Error Handling.
Examples
Res=MinimizeWindow("NOTEPAD.EXE|Notepad|Untitled - Notepad")
Res=MinimizeWindow("NOTEPAD.EXE|Notepad|Untitled - Notepad", 1)
MinimizeWindow(win$)