PropSheet_SetFinishText

The PropSheet_SetFinishText 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.

VOID PropSheet_SetFinishText(

hPropSheetDlg,  
lpszText  
);  

Parameters

hPropSheetDlg

Handle to the property sheet.

lpszText

Pointer to the new text for the Finish button.

Return Values

No return value.

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