|
-
April 23rd, 1999, 08:34 AM
#1
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
-
April 25th, 1999, 12:16 PM
#2
Re: Urgent!!! full-screen window
Have a look at Q164162. I used those techniques and they worked for me.
-
April 25th, 1999, 01:53 PM
#3
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/
-
April 28th, 1999, 11:03 PM
#4
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.
-
April 29th, 1999, 05:20 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|