共用方式為


CMFCPropertyGridProperty::SetName

Sets the name of a property.

void SetName(
   LPCTSTR lpszName,
   BOOL bRedraw=TRUE 
);

Parameters

  • [in] lpszName
    The property name.

  • [in] bRedraw
    TRUE to redraw the property immediately; otherwise, FALSE. The default value is TRUE.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart

CMFCPropertyGridProperty::GetName