|
-
September 3rd, 1999, 04:17 PM
#1
MDI Apps - Unable to Maximize Main Frame
I am trying to maximize the Main Frame window.I tried the following steps none of them worked out.Any body please help me giving some clue where the problem area is or where to look to sort out this problem.
1. in InitInstance() I have coded
if (!pMainFrame->LoadFrame(IDR_MAINFRAME,WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE|WS_MAXIMIZE))
2. In Precreatewindow() of CMainFrame class
cs.style = WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE|WS_MAXIMIZE;
3.In Precreatewindow() of CMainFrame class
cs.style |=WS_MAXIMIZE;
Thanx in advance.
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
|