PSM_SETFINISHTEXT message

Sets the text of the Finish button in a wizard, shows and enables the button, and hides the Next and Back buttons. You can send this message explicitly or by using the PropSheet_SetFinishText macro.

Parameters

wParam

Must be zero.

lParam

Pointer to the new text for the Finish button.

Return value

No return value.

Remarks

By default, the Finish button does not have a keyboard accelerator. You can create a keyboard accelerator with this message by including an ampersand (&) in the text string that you assign to lParam. For example, "&Finish" defines F as the accelerator key.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Prsht.h
Unicode and ANSI names
PSM_SETFINISHTEXTW (Unicode) and PSM_SETFINISHTEXTA (ANSI)