Solved

Full screen in MFC

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
set up trigger (or something) to rename files (starting with ATL) in a linux directory 6 54
Define unique primary key 9 93
FizzBuzz challenge 9 81
wordcount challenge 11 122
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: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

803 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