Click to See Complete Forum and Search --> : MFC


younger yang
August 3rd, 1999, 12:28 AM
How can I meke a full screen application? Thanks.

younger yang

JedyMaster
August 3rd, 1999, 07:41 AM
Hi there!

I assume you are refering to a SDI or MDI application. If so,look at the following exemple:

BOOL CMyApp::InitInstance()
{
...
// The main window has been initialized, so show and update it.
// Insert the following line to have your app full screen...

m_nCmdShow=SW_SHOWMAXIMIZED;
pMainFrame->ShowWindow(m_nCmdShow);
pMainFrame->UpdateWindow();
...

}

I hope this help...

If not contact me...

Denis Lavoie
"JedyMaster"
dlavoie@cgocable.ca (Home)
dlavoie@pgsystem.com (Job)