PropSheet_SetWizButtons
A version of this page is also available for
4/8/2010
This 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.
Syntax
VOID PropSheet_SetWizButtons(
HWND hPropSheetDlg,
DWORD dwFlags
);
Parameters
- hPropSheetDlg
Handle to the property sheet.
dwFlags
Specifies the buttons to display and enable. It is one of the following flags.Value Description 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.
A wizard property sheet displays the Back button and either the Next or Finish button, which means that the PSWIZB_BACK flag is coupled with one of the other three flags.
Return Value
None.
Requirements
Header | prsht.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |