| CBCGPBaseRibbonElement* CBCGPRibbonPanel::FindByID | ( | UINT | uiCmdID, |
| BOOL | bNonCustomOnly = TRUE, |
||
| BOOL | bCheckForSimplifiedMode = FALSE |
||
| ) | const |
Finds an element by its command ID.
Looks for a ribbon element by command ID.
| uiCmdID | Specifies command ID to find by. |
| bNonCustomOnly | Set it to TRUE to find non-custom elements only. |
| bCheckForSimplifiedMode | If TRUE, the elements invisible in the current mode (classic or simplified) elements will be excluded from the search scope. |