?
Solved

Maximize on Execute

Posted on 1998-07-24
5
Medium Priority
?
251 Views
Last Modified: 2013-11-20
I want the view that pops up when you execute the program to be maximized when  it pops up, How to do that?Or How do you increase the size of the client space?
0
Comment
Question by:sram
[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
  • 2
5 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 80 total points
ID: 1319709
Use: CWnd::ShowWindow(SW_SHOWMAXIMIZED) in your program to maximize the application window.
0
 

Author Comment

by:sram
ID: 1319710
Where do I do this ?(In what file? In What function/class...)
0
 

Author Comment

by:sram
ID: 1319711
Where do I do this ?(In what file? In What function/class...)
0
 
LVL 32

Expert Comment

by:jhance
ID: 1319712
I can't tell you based on what you have posted.  About all I know is that you have an MFC app since this is the area where you posted your question.  Is it a dialog application, MDI, SDI?  
0
 
LVL 32

Expert Comment

by:jhance
ID: 1319713
You can call CWnd::ShowWindow() anywhere in your application where there is a valid CWnd object to call it against.  Once your main windows has been created you have a CWnd and can call it.  
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

719 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