RestoreWindow

Windows management function.

The RestoreWindow function restores the specified window to its previous size.

Syntax

RestoreWindow(<window_name> [,<instance>])
or
ret=RestoreWindow(<window_name> [,<instance>])

Parameters

<window_name>, window name of the window to be restored.

<instance>, optional parameter, instance number of the window to be restored.

Return value

Ret, numeric return code. When the restore is successful, the function returns 0, otherwise use this return code for Error Handling.

Examples

 

Result = RestoreWindow("NOTEPAD.EXE|Notepad|Untitled",1)

RestoreWindow(win$)