CWindow::MoveWindow

The first implementation of this method changes the window’s size and position. The second implementation of this method uses a RECT structure to determine the window’s new position, width, and height.

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL MoveWindow( int x, int y, int nWidth, int nHeight,
BOOL bRepaint = TRUE );

See Also

CWindow::SetWindowPos