WinPos
Moves the active window to a new location. You use PageInfo() to get the current window position.
Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised.
Syntax
WinPos(X, Y)
X, Y:
The new x and y pixel coordinates of the top-left corner of the active window.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
WinPos(100,50);
/* Moves the top-left corner of the active window to the pixel coordinate 100,50. */
See Also