Prev Next

PropSheet_SetWizButtons info  Overview  Group

The PropSheet_SetWizButtons macro posts the PSM_SETWIZBUTTONS message to a wizard property sheet. The PSM_SETWIZBUTTONS message enables or disables the Back, Next, and Finish buttons in a wizard property sheet. You can use this macro or explicitly send or post the PSM_SETWIZBUTTONS message.

VOID PropSheet_SetWizButtons(

    HWND hPropSheetDlg,

// handle to the property sheet

    DWORD dwFlags

// specifies the buttons to display and enable

   );

Parameters

hPropSheetDlg
Handle to the property sheet.
dwFlags
Specifies the buttons to display and enable. A wizard property sheet displays the Back button and either the Next or Finish button. This parameter can include the PSWIZB_BACK flag and one of the PSWIZB_NEXT, PSWIZB_FINISH, or PSWIZB_DISABLEDFINISH flags.

Value

Meaning

PSWIZB_BACK

Enables the Back button.

PSWIZB_NEXT

Enables the Next button.

PSWIZB_FINISH

Displays an enabled Finish button in place of the Next button.

PSWIZB_DISABLEDFINISH

Displays a disabled Finish button in place of the Next button.

Return Values

No return value.

See Also

PSM_SETWIZBUTTONS