共用方式為


CMFCPropertyGridCtrl::EnsureVisible

移動一個屬性方格控制項並展開屬性項目,直到指定的屬性是可見的。

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

參數

  • [in] pProp
    對屬性的指標。

  • [in] bExpandParents
    展開父項目的TRUE 讓指定的屬性設定為可見的,否則, FALSE。 預設值為 FALSE。

需求

標題: afxpropertygridctrl.h

請參閱

參考

CMFCPropertyGridCtrl 類別

階層架構圖