PSM_SETWIZBUTTONS
This message enables or disables the Back, Next, and Finish buttons in a wizard property sheet. You can send or post this message explicitly to a wizard property sheet, or you can use the PropSheet_SetWizButtons macro to post the message.
PSM_SETWIZBUTTONS wParam = 0;
lParam = (LPARAM)(DWORD) dwFlags;
Parameters
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 Values
None.
Remarks
If you send the PSM_SETWIZBUTTONS message during your handling of the PSN_SETACTIVE notification message, use the PostMessage function rather than the SendMessage function. Otherwise, the system does not update the buttons properly. At any other time, you can use SendMessage to send PSM_SETWIZBUTTONS.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
PostMessage, PropSheet_SetWizButtons, SendMessage, PropSheet_SetWizButtons, PSM_SETWIZBUTTONS
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.