Click to See Complete Forum and Search --> : Post deleted by Mark Jones


Mark Jones
May 18th, 1999, 01:41 PM

Paul Burns
May 18th, 1999, 09:48 PM
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 );

}