|
-
May 10th, 1999, 07:59 PM
#1
How to maximise window when application starts
Hi,
I have set the appropriate variable in the PreCreateWindow method to set the window to be maximise but somehow my window is still not maximize.
My application is a SDI with two splitter windows. The first one is similar to the outlook task window in the left and the second window is just a Form View.
Could it be that the settings ar upsetted by these two windows??
I'm not sure so please advise!! Thanks!!
Steve
-
May 10th, 1999, 11:54 PM
#2
Re: How to maximise window when application starts
Get rid of whatever you did in PreCreateWindow() and try this:
In the InitInstance() function of your App class, change
m_pMainWnd->ShowWindow(SW_SHOW);
to
m_pMainWnd->ShowWindow(SW_SHOWMAXIMIZED);
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
|