|
-
April 6th, 1999, 03:03 PM
#2
Re: Setting the Window size
You just set the CREATESTRUCT to the disered width, hieght, and starting position :
Look up CREATESTRUCT in the msdn libraray
example:
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CMDIFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.cx = ?;
cs.cy = ?;
cs.x = ?;
cs.y = ?;
return TRUE;
}
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
|