Share via


CMFCRibbonMainPanel::Add

 

Adds a ribbon element to the left pane of the application button panel.

Syntax

virtual void Add(
    CMFCRibbonBaseElement* pElem 
);

Parameters

  • [in] [out] pElem
    A pointer to the ribbon element to add to the main panel.

Remarks

Adds a ribbon element to the panel. Elements added using this method will be located in the left column of the main panel.

Requirements

Header: afxRibbonMainPanel.h

See Also

CMFCRibbonMainPanel Class
Hierarchy Chart