Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Chapter 5: The Document/View Architecture Visual C++ and MFC Fundamentals


5.5.1 An SDI With AppWizard...................................................................


To get help in creating a single document interface application, you can use the Visual
C++' AppWizard. to do this, from the New Project dialog box (MSVC .Net) or the
Projects property page of the New dialog box (MSVC), select MFC Application or MFC
AppWizard (exe), specify the name and location, then click OK. On the next dialog box,
you must specify the Application Type as Single Document. One of the decisions you
must make is to specify the view of application you are creating, that is, you must select
CView or one of its children as the base class and click Finish. MFC's AppWizard offers
various options to create a starting application as complete as possible. We will view
these when needed.

Practical Learning: Creating an SDI



  1. To create a new application, display the New or the New Project dialog box

  2. Select MFC Application or MFC AppWizard (exe)

  3. Specify the application Name as SDI1

Free download pdf