共用方式為


CMFCRibbonBaseElement::OnAddToQAToolbar

Adds the ribbon element to the specified quick access toolbar.

virtual BOOL OnAddToQAToolbar(
   CMFCRibbonQuickAccessToolBar& qat
);

Parameters

  • [in] qat
    The quick access toolbar.

Return Value

Always returns TRUE indicating the ribbon element was added to the quick access toolbar.

Requirements

Header: afxbaseribbonelement.h

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart