September 3rd, 2010, 07:17 AM
[RESOLVED] Where is this window coming from?
Hi there, I'm new to C++ and am using Visual Studio 2010 Professional. I've been using dialog based apps until now and have been doing ok, but now I need to make an app that handles multiple items at once. So the multiple documents application type seemed like a natural choice.
I am, however, having trouble figuring something out. After creating my first skeleton app it starts with a blank document open. However, I haven't figured out how it's opening that document, and I don't want the app to start with an open document.
My skeleton project was created by making the following selections (only specifying changes from the default):
MFC app (let's name it skeleton)
Multiple Document, uncheck tabs
MFC Standard project style
Now, if I go into the skeletonView.cpp file that was created for me, and set a breakpoint in it's constructor, I can see that it's being called from:
in skeletonApp::InitInstance(). But that's about all I can figure out so far. I can see where this skeletonView is being added to a template, and where the template is being added to the main window, but from my understanding this just lets the main window create instances of the view.
I'm sure I'm missing something simple. Anyone care to enlighten me?
Tags for this Thread
Click Here to Expand Forum to Full Width