共用方式為


CMFCPropertyGridProperty::Show

Shows or hides a property.

void Show(
   BOOL bShow=TRUE,
   BOOL bAdjustLayout=TRUE 
);

Parameters

  • [in] bShow
    TRUE to display the current property and its sub-items; FALSE to hide the current property and its sub-items. The default value is TRUE.

  • [in] bAdjustLayout
    TRUE to recalculate how to draw the label and value of a property and then draw the property; FALSE to use existing calculations to draw the property. The default value is TRUE.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart