CPropertySheet::SetTitle

void SetTitle( LPCTSTR lpszText, UINT nStyle = 0 );

Parameters

nStyle

Specifies the style of the property sheet title. The style must be specified at 0 or as PSH_PROPTITLE. If the style is set as PSH_PROPTITLE, the words "Properties for" appear before the text specified as the caption.

lpszText

Points to the text to be used as the caption in the title bar of the property sheet.

Remarks

Call this member function to specify the property sheet's caption (the text displayed in the title bar of a frame window).

By default, a property sheet uses the caption parameter in the property sheet constructor.

CPropertySheet OverviewClass MembersHierarchy Chart

See Also   CPropertySheet::GetPage, CPropertySheet::GetActivePage