Share via


CMFCRibbonStatusBar::AddElement

Adds a new ribbon element to the ribbon status bar.

void AddElement(
   CMFCRibbonBaseElement* pElement,
   LPCTSTR lpszLabel,
   BOOL bIsVisible=TRUE 
);

Parameters

  • [in] pElement
    A pointer to the added element.

  • [in] lpszLabel
    A text label of the element.

  • [in] bIsVisible
    TRUE if you want to add the element as visible, FALSE if you want to add the element as hidden.

Requirements

Header: afxribbonstatusbar.h

See Also

Reference

CMFCRibbonStatusBar Class

Hierarchy Chart