This method changes the window's size and position. The second version of this method uses a RECT structure to determine the window's new position, width, and height.
BOOL MoveWindow( int x, int y, int nWidth, int nHeight, BOOL bRepaint = TRUE );
Header file: | Atlwin.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CWindow Overview, CWindow Methods, CWindow::SetWindowPos