This method centers the window against a given window.
BOOL CenterWindow( HWND hWndCenter = NULL );
Header file: | Atlwin.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CWindow Overview, CWindow Methods, CWindow::MoveWindow, CWindow::SetWindowPos