Share via


CAppWizStepDlg

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 .

The CAppWizStepDlg class is the class from which custom AppWizard steps are derived. Recall that the AppWizard and custom AppWizard user interface is comprised of nested dialog boxes: an outer one and one or more inner ones. The outer dialog box contains the title bar and the Help, Cancel, Back, Next, and Finish buttons. It serves as a master control panel and also frames the inner dialog box.

The outer dialog box frames an area that can contain one or more dialog boxes called steps. These steps, derived from CAppWizStepDlg, contain controls that allow the MFC AppWizard or a custom AppWizard to gather information from a user.

Each custom AppWizard step is a combination of a dialog template****and its associated CAppWizStepDlg-derived class. AppWizard automatically generates a dialog template and a CAppWizStepDlg-derived class for each custom step in your custom AppWizard.

Use the dialog editor to add controls to the dialog template, and then use to add class members representing the controls to the CAppWizStepDlg-derived class.

CAppWizStepDlg is derived from the Microsoft Foundation Class Library (MFC) class.

Typically, in a custom AppWizard, instances of each CAppWizStepDlg-derived class are constructed when AppWizard (MFCAPWZ.DLL) calls CCustomAppWiz::InitCustomAppWiz and destroyed when AppWizard calls CCustomAppWiz::ExitCustomAppWiz.

See Also   Class Members, Overview of Creating a Custom AppWizard, Adding Functionality to Your Custom AppWizard, CAppWizStepDlg Class Members, CCustomAppWiz, OutputStream, C Functions Exported by MFCAPWZ.DLL, The Dictionary, Standard AppWizard Macros, Understanding Custom Resource Templates, Standard Custom Resource Templates, Understanding CONFIRM.INF and NEWPROJ.INF