Share via


CMFCRibbonCategory::GetPanel

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

CMFCRibbonPanel* GetPanel(
   int nIndex 
);

Parameters

  • [in] nIndex
    The zero-based index of a ribbon panel.

Return Value

Pointer to the ribbon panel that is located at the specified index.

Remarks

An exception is thrown if nIndex is out of range.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart