BCGControlBar Pro for MFC
CBCGPBaseRibbonElement* CBCGPRibbonPanel::GetElement ( int  nIndex) const

Returns a pointer to ribbon element located at the specified index.

Returns a valid pointer to base ribbon element, or NULL if there is no element at the specified index.

Parameters
nIndexSpecifies the zero-based index of element to be returned.