PropSheet_SetFinishText

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.

At a Glance

Header file: Prsht.h
Windows CE versions: 2.0 and later
Related message: PSM_SETFINISHTEXT

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 Values

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.

See Also

DM_SETDEFID, PSM_SETFINISHTEXT