Partager via


CMFCRibbonStatusBar::AddExtendedElement

Adds a ribbon element to the extended area of the ribbon status bar.

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

Parameters

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

  • [in] lpszLabel
    The 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.

Remarks

The extended area is on the right side of the status bar control.

Requirements

Header: afxribbonstatusbar.h

See Also

Reference

CMFCRibbonStatusBar Class

Hierarchy Chart