CWindow::SetWindowPos

BOOL SetWindowPos( HWND hWndInsertAfter, int x, int y, int cx, int cy, UINT nFlags );

BOOL SetWindowPos( HWND hWndInsertAfter, LPCRECT lpRect, UINT nFlags );

See SetWindowPos in the Win32 SDK.

Remarks

Sets the size, position, and Z order. The second version of this method uses a RECT structure to set the window’s new position, width, and height.

CWindow OverviewClass Members

See Also   CWindow::BringWindowToTop, CWindow::MoveWindow, RECT