共用方式為


CMFCRibbonBar::AddToTabs

Adds the specified ribbon element to the tabs row of the ribbon bar.

void AddToTabs(
   CMFCRibbonBaseElement* pElement 
);

Parameters

  • [in] pElement
    Pointer to a ribbon element.

Remarks

The ribbon element is positioned before any system buttons.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart