Share via


CCustomAppWiz::Back

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 .

virtual CAppWizStepDlg* Back( CAppWizStepDlg* pDlg );

Return Value

A pointer to the previous step. If pDlg points to the first step, Back returns NULL to indicate that MFCAPWZ.DLL should next display the New dialog box Projects tab. For more information on steps, see the class CAppWizStepDlg.

Parameters

pDlg

Pointer to the current step.

Remarks

Back moves to the previous step. AppWizard (MFCAPWZ.DLL) calls this function whenever a user clicks Back. The Back button is located on the main, outer dialog box that MFCAPWZ.DLL displays. For more information on steps and a description of the two-dialog-box structure of the MFC AppWizard and custom AppWizards, see CAppWizStepDlg.

Before Back is called, MFCAPWZ.DLL calls the CAppWizStepDlg::OnDismiss member function of the currently displayed step. You override CAppWizStepDlg::OnDismiss to transfer data from the step’s controls to the appropriate variables and to update the appropriate dictionary values. If your custom AppWizard returns FALSE from the call to the overridden CAppWizStepDlg::OnDismiss, then the current step remains active, and Back is not called.

See Also   Class Members, CCustomAppWiz::Next, CAppWizStepDlg::OnDismiss, CAppWizStepDlg::CAppWizStepDlg