void SetWizardButtons( DWORD dwFlags );
Parameters
dwFlags
A set of flags that customize the function and appearance of the wizard buttons. This parameter can be a combination of the following values:
Remarks
Call this member function to enable or disable the Back, Next, or Finish button in a wizard property sheet. Call SetWizardButtons only after the dialog is open; you can’t call SetWizardButtons before you call DoModal. Typically, you should call SetWizardButtons from CPropertyPage::OnSetActive.
If you want to change the text on the Finish button or hide the Next and Back buttons once the user has completed the wizard, call SetFinishText. Note that the same button is shared for Finish and Next. You can display a Finish or a Next button at one time, but not both.