PSM_SETWIZBUTTONSPSM_SETWIZBUTTONS*
*Contents  *Index  *Topic Contents
*Previous Topic: PSM_SETTITLE
*Next Topic: PSM_UNCHANGED

PSM_SETWIZBUTTONS


PSM_SETWIZBUTTONS 
    wParam = 0; 
    lParam = (LPARAM) (DWORD) dwFlags; 

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.

dwFlags
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, which enables the Back button, and one of the following flags:
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.

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 will not update the buttons properly. At any other time, you can use SendMessage to send PSM_SETWIZBUTTONS.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.