Solved

Empty MDI MainFrame

Posted on 2000-05-11
1
237 Views
Last Modified: 2013-11-20
What code do I have to add to/remove from an AppWizard-prepared MDI application in order for the program to start without a new document open?
0
Comment
Question by:Lescha
1 Comment
 
LVL 2

Accepted Solution

by:
paulburns earned 10 total points
ID: 2802511
In your CMyApp::InitInstance function add this code...

// Start up with no document open.
if (cmdInfo.m_nShellCommand == CCommandLineInfo::FileNew)
  cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeateFront java challenge 31 92
mapBully challenge 6 115
Change to event 1 103
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 77
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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

24 Experts available now in Live!

Get 1:1 Help Now