Partager via


CMFCPropertyGridCtrl::EnableHeaderCtrl

Enables or disables the header control at the top of the property grid control.

void EnableHeaderCtrl(
   BOOL bEnable=TRUE,
   LPCTSTR lpszLeftColumn=_T("Property"),
   LPCTSTR lpszRightColumn=_T("Value") 
);

Parameters

  • [in] bEnable
    TRUE to enable the header control; FALSE to disable the header control. The default value is TRUE.

  • [in] lpszLeftColumn
    The title of the left column of the header control. The default value is Property.

  • [in] lpszRightColumn
    The title of the right column of the header control. The default value is Value.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridCtrl Class

Hierarchy Chart