PSM_SETBUTTONTEXT message

Sets the text on a button in an Aero wizard. You can send this message explicitly or by using the PropSheet_SetButtonText macro.

Parameters

wParam

One of the following values specifying the button whose text is set.

Value Meaning
PSWIZB_BACK
The Back button.
PSWIZB_CANCEL
The Cancel button.
PSWIZB_DISABLEDFINISH
The Finish button.
PSWIZB_FINISH
The Finish button.
PSWIZB_NEXT
The Next button.

lParam

The text to set.

Return value

No return value.

Requirements

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