BCGControlBar Pro for MFC
CBCGPBaseRibbonElement* CBCGPRibbonPanel::FindByData ( DWORD_PTR  dwData) const

Finds an element by its user-defined data.

Looks for a ribbon element by user-defined data.

Parameters
dwDataSpecifies data to find by.