This method changes the position and dimensions of a window.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
void MoveWindow ( int x, int y, int nWidth, int nHeight, BOOL bRepaint = TRUE );
void MoveWindow ( LPCRECT lpRect, BOOL bRepaint = TRUE );
Windows CE ignores the bRepaint parameter and treats it as TRUE. This method always sends a WM_PAINT message to the window.