共用方式為


CMFCRibbonCategory::GetElements

Retrieves all ribbon elements in the ribbon category.

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

Parameters

  • [in, out] arElements
    Reference to a CArray of ribbon elements.

Remarks

Ribbon elements that are designed for use on the quick access toolbar are included in the array.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart