Export (0) Print
Expand All

MFC Application Wizard 

The MFC Application Wizard generates an application having built-in functionality that, when compiled, implements the basic features of a Windows executable (.exe) application. The MFC starter application includes C++ source (.cpp) files, resource (.rc) files, header (.h) files, and a project (.vcproj) file. The code generated in these starter files is based on MFC.

NoteNote

Depending on the options you select, the wizard creates additional files in your project. For example, if you select Context-sensitive help in the Advanced Features page, the wizard creates the files necessary to compile the project's Help files. For more information on the files created by the wizard, see File Types Created for Visual C++ Projects, and see the Readme.txt file in the project.

Overview

This wizard page describes the current application settings for the MFC application you are creating. By default, the wizard creates a project as follows:

  • Application Type

  • Compound Document Support

    • The project provides no support for compound documents.

  • Document Template Strings

  • Database Support

    • The project provides no support for databases.

  • User Interface Features

    • The project implements standard Windows user interface features such as a system menu, a status bar, maximize and minimize boxes, an "About" box, a standard docking toolbar, and child frames.

  • Advanced Features

  • Generated Classes

    • The project's view class is derived from CView.

    • The project's application class is derived from CWinApp.

    • The project's document class is derived from CDocument.

    • The project's main frame class is derived from CMDIFrameWnd.

    • The project's child frame class is derived from CMDIChildWnd.

To change these defaults, click the tab titles in the left column of the wizard and make the desired changes on those pages.

After you create an MFC application project, you can add objects or controls to your project using Visual C++ code wizards.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft