Share via


PropSheet_SetFinishText (Windows Embedded CE 6.0)

1/6/2010

This macro sets the text of the Finish button in a wizard property sheet, shows and enables the button, and hides the Next and Back buttons. You can use this macro or explicitly send the PSM_SETFINISHTEXT message.

Syntax

VOID PropSheet_SetFinishText( 
    hPropSheetDlg, 
    lpszText 
);

Parameters

  • hPropSheetDlg
    Handle to the property sheet.
  • lpszText
    Long pointer to the new text for the Finish button.

Return Value

None.

Remarks

This macro causes the DM_SETDEFID message to be sent to the property sheet dialog box. The wParam parameter specifies the identifier of the Finish button.

Requirements

Header prsht.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Property Sheets Macros
DM_SETDEFID
PSM_SETFINISHTEXT