|
-
May 18th, 1999, 01:41 PM
#1
Post deleted by Mark Jones
-
May 18th, 1999, 09:48 PM
#2
Re: SetWindowPos
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 );
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|