PropSheet_ShowWizButtons macro (prsht.h)
Show or hide buttons in a wizard. You can use this macro or send the PSM_SHOWWIZBUTTONS message explicitly.
Syntax
VOID PropSheet_ShowWizButtons(
HWND hDlg,
DWORD dwFlag,
DWORD dwButton
);
Parameters
hDlg
Type: HWND
Handle to the wizard.
dwFlag
Type: DWORD
One or more of the following values that specify which property sheet buttons are to be shown. If a button value is included in both this parameter and dwButton then it is shown.
dwButton
Type: DWORD
One or more of the same values used in dwFlag. Here, they specify which property sheet buttons are to be shown or hidden. If a button value appears in this parameter but not in dwFlag, it indicates that the button should be hidden.
Return value
Type: VOID
This macro does not return a value.
Remarks
The following example code hides the Back button and shows the Next button.
PropSheet_ShowWizButtons(hwnd,
PSWIZB_NEXT,
PSWIZB_BACK | PSWIZB_NEXT);
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | prsht.h |