Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This macro posts the PSM_SETWIZBUTTONSmessage to a wizard property sheet. The PSM_SETWIZBUTTONS message enables or disables the Back, Next, and Finishbuttons 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 Backbutton.

PSWIZB_NEXT

Enables the Nextbutton.

PSWIZB_FINISH

Displays an enabled Finishbutton in place of the Nextbutton.

PSWIZB_DISABLEDFINISH

Displays a disabled Finishbutton in place of the Nextbutton.

A wizard property sheet displays the Backbutton and either the Nextor Finishbutton, 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

See Also