MaximizeWindow
Windows management function.
The MaximizeWindow function maximizes the specified window.
Syntax
MaximizeWindow(<window_name> [,<instance>])
or
ret=MaximizeWindow(<window_name> [,<instance>])Parameter
<window_name>, window name of the window to maximize.
<instance>, optional parameter, instance number of the window to maximize.
Return value
Ret, numeric return code. When successful, the function returns 0, otherwise use this return code for Error Handling.
Examples
MaximizeWindow("NOTEPAD.EXE|Notepad|Untitled - Notepad")
MaximizeWindow("NOTEPAD.EXE|Notepad|Untitled - Notepad",1)
Result = MaximizeWindow(win$)