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.
pElement | A pointer to ribbon element to add. |
bAddToLeft | If this parameter is TRUE, the element will be added to the left side. |