?
Solved

Full screen in MFC

Posted on 2000-05-18
3
Medium Priority
?
350 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 150 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

765 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