Share via


CMFCRibbonButtonsGroup::GetButton

Returns a pointer to the button that is located at a specified index.

CMFCRibbonBaseElement* GetButton(
   int i 
) const;

Parameters

  • [in] i
    A zero-based index of a button to return.

Return Value

A pointer to the button that is located at the specified index. NULL if the specified index is out of range.

Requirements

Header: afxribbonbuttonsgroup.h

See Also

Reference

CMFCRibbonButtonsGroup Class

Hierarchy Chart