共用方式為


CMFCPropertyGridProperty::Enable

Enables or disables a property.

void Enable(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable the property; FALSE to disable the property. Disabled properties do not respond to mouse or keyboard input. The default value is TRUE.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart