Partager via


PropSheet_SetFinishText (Compact 2013)

3/28/2014

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

See Also

Reference

Property Sheets Macros
DM_SETDEFID
PSM_SETFINISHTEXT