BCGControlBar Pro for MFC
CBCGPRibbonPanel* CBCGPRibbonCategory::GetPanel ( int  nIndex)

Returns a panel located at the specified index in the list of panels.

A valid pointer to panel or NULL, if index is out of range.

Use AddPanel() to add new panels.

nIndexSpecifies zero-based index of panel to be returned.