Printable View
Use MoveWindow. Put it in your OnCreate handler, e.g. for a CMainFrame...
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
// Call MoveWindow AFTER you have called the base class OnCreate.
// You'll have to build 'rect' from height, width, etc.
MoveWindow( rect );
}