PropSheet_SetButtonText macro (prsht.h)
Sets the text of a button in an Aero wizard. You can use this macro or send the PSM_SETBUTTONTEXT message explicitly.
Syntax
VOID PropSheet_SetButtonText(
HWND hDlg,
DWORD dwButton,
LPCTSTR lpszText
);
Parameters
hDlg
Type: HWND
Handle to the wizard.
dwButton
Type: DWORD
One of the following values specifying the button whose text is set.
Value | Meaning |
---|---|
|
0x0001. The Back button. |
|
0x0002. The Next button. |
|
0x0004. The Finish button. |
|
0x0010. The Cancel button. |
lpszText
Type: LPCTSTR
The text to set.
Return value
Type: VOID
No return value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | prsht.h |