SetWindowSizePos

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber SetWindowSizePos(SalWindowHandle hWnd, 
SalNumber nXPos,
SalNumber nYPos,
SalNumber nWidth,
SalNumber nHeigth)

The SetWindowSizePos sets the size and position of a window in pixels.

Parameters

Name Description
SalWindowHandle hWnd The handle (or name) of the window to set the size and position of.
SalNumber nXPos New horizontal position of the window in pixels.
SalNumber nYPos New vertical position of the window in pixels.
SalNumber nWidth New width of the window in pixels
SalNumber nHeight New height of the window in pixels

Returns

This method does not return a value.