SizeWindow
Windows management function.
The SizeWindow function resizes the specified window.
Syntax
SizeWindow(<window_name>,<instance>,<width>,<height>)
or
ret=SizeWindow(<window_name>,<instance>,<width>,<height>)Parameters
<window_name>, window name of the window to be resized.
<instance>, instance number of the window to be resized.
<width>,<height>, numeric ; width and height of the window in pixels.
Return value
Ret, numeric return code. When the resizing is successful, the function returns 0, otherwise use this return code for Error Handling.
Examples
SizeWindow("NOTEPAD.EXE|Notepad|Untitled",1, 200,300)
Result = SizeWindow(win$, 0, var_x, var_y)