BCGControlBar Pro for MFC
virtual BOOL CBCGPRibbonPanel::Insert ( CBCGPBaseRibbonElement pElem,
int  nIndex 
)
virtual

Inserts a ribbon element at the given position.

Returns
Non zero if the ribbon element has been inserted successfully; otherwise FALSE.

Use this method to insert a ribbon element at the given position.

Parameters
pElemA pointer to a ribbon element.
nIndexA zero-based index to insert the ribbon element at.