| BOOL CBCGPRibbonBar::ReplaceRibbonElementByID | ( | UINT | uiCmdID, |
| CBCGPBaseRibbonElement & | newElement, | ||
| BOOL | bCopyContent = TRUE, |
||
| BOOL | bIncludeHidden = FALSE, |
||
| BOOL | bIncludeTabElements = FALSE |
||
| ) | const |
Replaces ribbon controls that have a specific identifier with a new control.
| uiCmdID | Specifies Ribbon control id. |
| newElement | The new control. |
| bCopyContent | Specifies whether Ribbon control content should be copied to the new control. |
| bIncludeHidden | Specifies whether the serach scop should include hidden controls. |
| bIncludeTabElements | Specifies whether the serach scop should include controls located on the tabs row. |