共用方式為


CMFCRibbonPanel::GetVisibleElements

Retrieves an array of visible elements.

void GetVisibleElements(
   CArray<CMFCRibbonBaseElement*,
   CMFCRibbonBaseElement*>& arElements
);

Parameters

  • arElements
    When the function returns, this parameter contains an array of visible elements.

Requirements

Header: afxribbonpanel.h

See Also

Reference

CMFCRibbonPanel Class