BCGControlBar Pro for MFC
UINT CBCGPBaseRibbonElement::GetID ( ) const
inline

Returns ribbon element command ID.

Command ID is sent along with WM_COMMAND message.