PropSheet_SetFinishTextPropSheet_SetFinishText*
*Contents  *Index  *Topic Contents
*Previous Topic: PropSheet_SetCurSelByID
*Next Topic: PropSheet_SetTitle

PropSheet_SetFinishText


VOID PropSheet_SetFinishText(
    HWND hPropSheetDlg, 		
    LPTSTR lpszText		
);		

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 send the PSM_SETFINISHTEXT message explicitly.

hPropSheetDlg
Handle to the property sheet.
lpszText
Address of the new text for the Finish button.

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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.