共用方式為


CMFCRibbonBaseElement::SetParentCategory

Sets the parent category for the ribbon element.

virtual void SetParentCategory(
   CMFCRibbonCategory* pParent
);

Parameters

  • [in] pParent
    Pointer to a ribbon category.

Remarks

The tabbed groups in ribbon controls are called categories.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart