CPropertyPage::OnWizardFinish

virtual BOOL OnWizardFinish( );

Return Value

Nonzero if the property sheet is destroyed when the wizard finishes; otherwise zero.

Remarks

This member function is called by the framework when the user clicks on the Finish button in a wizard. When the framework calls this function, the property sheet is destroyed when the Finish button is pressed and OnWizardFinish returns TRUE ( a nonzero value).

Override this member function to specify some action the user must take when the Finish button is pressed. When overriding this function, return FALSE to prevent the property sheet from being destroyed.

For more information about notification messages sent when the user presses the Finish button in a wizard property sheet, see PSN_WIZFINISH in the Win32 documentation.

For more information on how to make a wizard-type property sheet, see CPropertySheet::SetWizardMode.

CPropertyPage OverviewClass MembersHierarchy Chart

See Also   CPropertySheet::SetWizardMode