共用方式為


CMFCRibbonButtonsGroup::AddButton

Adds a button to a group.

void AddButton(
   CMFCRibbonBaseElement* pButton 
);

Parameters

  • [in] pButton
    A pointer to a button to add.

Requirements

Header: afxribbonbuttonsgroup.h

See Also

Reference

CMFCRibbonButtonsGroup Class

Hierarchy Chart