Compartir a través de


PropSheet_SetFinishText

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DM_SETDEFID
PSM_SETFINISHTEXT