PropSheet_SetTitle

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

VOID PropSheet_SetTitle(

hPropSheetDlg,  
dwStyle,  
lpszText  
);  

Parameters

hPropSheetDlg

Handle to the property sheet.

dwStyle

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

Pointer to a buffer that contains the title string. If the high-order word of this parameter is NULL, the property sheet loads the string resource specified in the low-order word.

Return Values

No return value.

See Also

PSM_SETTITLE