Solved

Maximize on Execute

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows 10 how make picture as desktop background 2 66
sum13 challenge 24 135
MaxSpan challenge 9 124
Annoying "thing" blocks my view 4 133
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.

730 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