BCGControlBar Pro for MFC
void CBCGPRibbonBar::AddToTabs ( CBCGPBaseRibbonElement pElement,
BOOL  bAddToLeft = FALSE 
)

Adds a ribbon element at the right side of ribbon control.

Use this function to add a ribbon element at the left or right side of ribbon control. The ribbon element will be placed in the tab area and aligned left or right.

Parameters
pElementA pointer to ribbon element to add.
bAddToLeftIf this parameter is TRUE, the element will be added to the left side.