PropSheet_SetHeaderTitle macro (prsht.h)

Sets the title text for the header of a wizard's interior page. You can use this macro or send the PSM_SETHEADERTITLE message explicitly.

Syntax

int PropSheet_SetHeaderTitle(
   HWND    hDlg,
   int     index,
   LPCTSTR lpszText
);

Parameters

hDlg

Type: HWND

Handle to the wizard's window.

index

Type: int

Zero-based index of the page.

lpszText

Type: LPCTSTR

New header title.

Return value

Type: int

No return value.

Remarks

If you specify the current page, it will immediately be repainted to display the new title.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header prsht.h