The requested page is not available for selected version.
ResizeWindow
Syntax
long ResizeWindow(int width, int height)
Description
Resize the window to the specified dimensions.
Parameters
width
New width of window (units: pixels).
height
New height of window (units: pixels).
Return Value
Return 0 if the call is successful (as reported back by the operating system); otherwise, -1.
Notes
- Position of the upper-left corner of the window remains fixed relative to the screen.