Share via


Step 1, Project Type Options

OverviewsHow Do IDetails

Feature Only in Professional and Enterprise Editions   Creating a Custom AppWizard is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

Only one of the Project Type macros can be in the dictionary.

Macro Type Description
PROJTYPE_MDI BOOL Whether the standard MFC AppWizard user or custom AppWizard user has selected a multiple document interface.
PROJTYPE_SDI BOOL Whether the standard MFC AppWizard user or custom AppWizard user has selected a single document interface.
PROJTYPE_DLG BOOL Whether the standard MFC AppWizard user or custom AppWizard user has selected a dialog-based application.
PROJTYPE_DLL BOOL Whether the standard MFC AppWizard user or custom AppWizard user has specified that the project be a DLL. If this macro is set, the project makefile builds a DLL rather than an executable file.
PROJTYPE_CUSTOMAW BOOL Whether the standard MFC AppWizard user or custom AppWizard user has selected a Custom AppWizard project type. Note that this macro will rarely be used in a custom AppWizard. It is only used when CUSTMWZ.AWX is launched.
PROJTYPE_GEN BOOL Whether the project is a utility project.
PROJTYPE_MAK BOOL Whether the project is a makefile project.
PROJTYPE_LIB BOOL Whether the project is a static library.
PROJTYPE_CON BOOL Whether the project is a console application.
PROJTYPE_OCX BOOL Whether the project is a ActiveX control.
NODOCVIEW BOOL Whether the MFC application does not need the Document/View architecture.
EXPLAIN_PROJTYPE text Description of the wizard that appears in Step 1.

See Also   Standard AppWizard Macros, The Dictionary, CCustomAppwiz::ProcessTemplate, CCustomAppwiz::PostProcessTemplate, How Macros Get Their Values