|
-
April 26th, 1999, 02:36 PM
#1
Maximize MDI views?
I have my app starting up maximized. How do I maximize the documents in the mdi?
Thanks
-
April 26th, 1999, 03:41 PM
#2
Re: Maximize MDI views?
In your ChildFrame class, change the window's style.
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.style |= WS_CHILD | WS_VISIBLE | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | FWS_ADDTOTITLE | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_MAXIMIZE;
return CMDIChildWnd::PreCreateWindow(cs);
}
Allen
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
|