Solved

Empty MDI MainFrame

Posted on 2000-05-11
1
220 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

16 Experts available now in Live!

Get 1:1 Help Now