void CBCGPRibbonMainPanel::AddToRight | ( | CBCGPBaseRibbonElement * | pElem, |
int | nWidth = 300 |
||
) |
Adds a ribbon element to the right pane.
Use this function to add a ribbon element to the right panel. Usually, the right panel displays the recent files list. However, you can replace it with any other ribbon element. You can use either standard ribbon elements provided by the library, or derive your own element from any CBCGPBaseRibbonElement - derived class.
pElem | A pointer to a ribbon element to be placed on the right panel. |
nWidth | Specifies the width, in pixels, of the right panel. |