PropSheet_SetTitle macro (prsht.h)
Sets the title of a property sheet. You can use this macro or send the PSM_SETTITLE message explicitly.
Syntax
void PropSheet_SetTitle(
hDlg,
wStyle,
lpszText
);
Parameters
hDlg
Type: HWND
Handle to the property sheet.
wStyle
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
None
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
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for