PropSheet_SetTitle macro

Sets the title of a property sheet. You can use this macro or send the PSM_SETTITLE message explicitly.

Syntax


VOID PropSheet_SetTitle(
  HWND hPropSheetDlg,
  DWORD dwStyle,
  LPTSTR lpszText
);

Parameters

hPropSheetDlg

Type: HWND

Handle to the property sheet.

dwStyle

Type: DWORD

Flag that indicates whether to include the prefix "Properties for" with the specified title string. If dwStyle is the PSH_PROPTITLE value, the prefix is included. Otherwise, the prefix is not used.

lpszText

Type: LPTSTR

Pointer to a buffer that contains the title string. If the HIWORD of this parameter is NULL, the property sheet loads the string resource specified in the LOWORD.

Return value

No return value.

Remarks

In an Aero Wizard, this macro can be used to change the title of an interior page dynamically; for example, when handling the PSN_SETACTIVE notification.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Prsht.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft