How Macros Get Their Values

HomeOverviewsHow Do IDetailsSample

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 Visual C++ Editions.

There are two kinds of macros: standard MFC AppWizard macros and those you create. Macros are created by adding them to a CMapStringToString dictionary named projectaw.m_Dictionary that is declared in projectAW.H.

The MFC AppWizard gathers the values for some of its standard macros from the Projects tab of the New dialog box. It then uses these values to name a user’s project, files, and classes. AppWizard also uses macros that represent project features, such as 3D, TOOLBAR, and STATUSBAR. For more information on the standard MFC AppWizard macros, see Standard AppWizard Macros and CCustomAppWiz::m_Dictionary.

What do you want to know more about?