Solved

Maximize on Execute

Posted on 1998-07-24
5
248 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 20 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

636 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