Solved

Full screen in MFC

Posted on 2000-05-18
3
311 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
GIF file bit manipulation for color change 5 104
How to calculate times for developing software? 8 60
Host to IP 7 73
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now