PropSheet_SetButtonText macro

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.

ValueMeaning
PSWIZB_BACK

0x0001. The Back button.

PSWIZB_NEXT

0x0002. The Next button.

PSWIZB_FINISH

0x0004. The Finish button.

PSWIZB_CANCEL

0x0010. The Cancel button.

 

lpszText

Type: LPCTSTR

The text to set.

Return value

No return value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Prsht.h

 

 

Show: