CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MFC

  1. #1
    Join Date
    Aug 1999
    Posts
    2

    MFC

    How can I meke a full screen application? Thanks.

    younger yang

  2. #2
    Join Date
    Jun 1999
    Location
    Rimouski,Quebec,Canada
    Posts
    99

    Re: MFC

    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"
    [email protected] (Home)
    [email protected] (Job)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured