BCGControlBar Pro for MFC
UINT CBCGPColorBar::GetCommandID ( ) const

Retrieves a control's command ID

A command ID currently assigned to the CBCGPColorBar control.

Call this member function to retrieve the control's command ID. The command ID is used to notify the BCGPColorBar object parent (the parent is sent WM_COMMAND message when the user selects a new color, for example).