Sets the size, position, and Z order of the control site.
virtual BOOL SetWindowPos(
const CWnd* pWndInsertAfter,
int x,
int y,
int cx,
int cy,
UINT nFlags
);
-
pWndInsertAfter
-
A pointer to the window.
-
x
-
The new position of the left side of the window.
-
y
-
The new position of the top of the window.
-
cx
-
The new width of the window
-
cy
-
The new height of the window.
-
nFlags
-
Specifies the window sizing and positioning flags. For possible values, see the Remarks section for SetWindowPos in the Windows SDK.
Nonzero if successful, otherwise zero.
Header: afxocc.h
Reference
Other Resources