| CBCGPBaseRibbonElement* CBCGPRibbonBar::FindByData | ( | DWORD_PTR | dwData, | 
| BOOL | bVisibleOnly = TRUE | ||
| ) | const | 
Finds a ribbon element by associated user-defined data.
Use this method to find a (first) ribbon element by associated user-defined data.
| dwData | Specifies the data to find by. | 
| bVisibleOnly | If TRUE, the function will loop through visible items only. |