CWindow::MoveWindow

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.

Syntax

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

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CWindow Overview, CWindow Methods, CWindow::SetWindowPos