Partager via


CMFCRibbonStatusBar::GetExElement

Returns a pointer to the element that is located at a specified index in the extended area of the ribbon status bar. The extended area is on the right side of the status bar control.

CMFCRibbonBaseElement* GetExElement(
   int nIndex 
);

Parameters

  • [in] nIndex
    Specifies the zero-based index of an element that is located in the extended area of the status bar control.

Return Value

A pointer to the element that is located at a specified index in the extended area of the ribbon status bar. NULL if nIndex is negative or exceeds the number of elements in the extended area of the ribbon status bar.

Requirements

Header: afxribbonstatusbar.h

See Also

Reference

CMFCRibbonStatusBar Class

Hierarchy Chart