Solved

Full screen in MFC

Posted on 2000-05-18
3
336 Views
Last Modified: 2013-11-20
How do I make a Visual C++ looking full screen with the least hassle?
0
Comment
Question by:jhunt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
zoushen earned 50 total points
ID: 2821014
hello!

  You can customize VC user interface to avoid hassle.

for example ,you can add/remove some shortcuts to customize your tool bars.

Good luck !

0
 
LVL 5

Expert Comment

by:Wyn
ID: 2822624
???
???
0
 
LVL 1

Expert Comment

by:pcj0961
ID: 2838145
I am assuming that you want to control the attributes of the main frame window in a MFC application. the easiest way to do that is to overide the
FrameWnd::PreCreateWindow with your own and set the style and size
using the cs structure.

      cs.style = WS_OVERLAPPED | WS_CAPTION & ~FWS_ADDTOTITLE
            | FWS_PREFIXTITLE | WS_THICKFRAME | WS_SYSMENU
            | WS_MAXIMIZE & ~WS_VISIBLE;

    // Size the window to full screen size
    cs.cy = ::GetSystemMetrics( SM_CYSCREEN );
    cs.cx = ::GetSystemMetrics( SM_CXSCREEN );
    cs.y = 0;
    cs.x = 0;

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question