CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 1999
    Posts
    69

    Urgent!!! full-screen window

    Can a window class derived from CFrameWnd be shown as a full-screen window? If yes, what window styles should I apply? If not, can I have something like a toolbar in a full-screen window? Please let me know.
    Thanks,
    Hardeep


  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Urgent!!! full-screen window

    Have a look at Q164162. I used those techniques and they worked for me.





  3. #3
    Guest

    Get The Answer Book!!!

    You should consider buying "The MFC Answer Book" by Eugène Kain. It has tons of cool code for inhancing the UI of you application, and covers everything from document management to implimenting a user customizable UI. It even has the answer to this question, but since it takes up about 9 pages in the book I can't really post it here. You can get it from http://www.amazon.com/exec/obidos/AS...078480-3664658 for about $35, and it's well worth it, or you can check out some of the sample FAQs at http://www.mfcfaq.com/


  4. #4
    Join Date
    May 1999
    Location
    Ontario, Canada
    Posts
    6

    Re: Urgent!!! full-screen window

    Hey, don't worry help is on the way.
    In the App class, find the InitInstance() function and go all the way down to the end. Just before the return statement. Include/add the
    following code:

    m_pMainWnd->ShowWindow(SW_SHOWMAXIMIZED);
    m_pMainWnd->UpdateWindow();

    Good luck,

    Jose.


  5. #5
    Join Date
    May 1999
    Posts
    69

    Re: Urgent!!! full-screen window

    Hey, thanks! but there's one more thing. The taskbar gets hidden initially, but whenever the focu shifts to another window (which I open from my own app), it comes back. Can you tell me how to either keep it visible all the time, or hide it completely as long as my app is running?


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