共用方式為


CMFCPropertyGridCtrl::EnsureVisible

Scrolls a property grid control and expands property items until the specified property is visible.

void EnsureVisible(
   CMFCPropertyGridProperty* pProp,
   BOOL bExpandParents=FALSE 
);

Parameters

  • [in] pProp
    Pointer to a property.

  • [in] bExpandParents
    TRUE to expand parent items to make the specified property visible; otherwise, FALSE. The default is FALSE.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridCtrl Class

Hierarchy Chart