Anuj Seth
May 5th, 1999, 12:21 AM
Env: Windows NT 4.0 SP3, VC++ 6.0
Hi,
I want my application to start in maximized window mode everytime. To do
this, I use the following in my CWinApp derived class,
m_pMainWnd->ShowWindow(SW_MAXIMIZE);
*BUT*, the application first comes up in a small window and then resizes to
fill the entire screen. Why is this happening ? Is there no way to display
it in maximized mode in the first shot itself ?
To test whether I'm doing something wrong, I created a new project and set
the window state to Maximized using the AppWizard itself. I notice the same
problem here as well.
Does anyone know of a technique to display the app in full screen in the
first shot itself?
Thanks,
With Regards,
Anuj Seth
Hi,
I want my application to start in maximized window mode everytime. To do
this, I use the following in my CWinApp derived class,
m_pMainWnd->ShowWindow(SW_MAXIMIZE);
*BUT*, the application first comes up in a small window and then resizes to
fill the entire screen. Why is this happening ? Is there no way to display
it in maximized mode in the first shot itself ?
To test whether I'm doing something wrong, I created a new project and set
the window state to Maximized using the AppWizard itself. I notice the same
problem here as well.
Does anyone know of a technique to display the app in full screen in the
first shot itself?
Thanks,
With Regards,
Anuj Seth