BCGControlBar Pro for MFC
void CBCGPMouseManager::SetCommandForDblClick ( int  iViewId,
UINT  uiCmd 
)

Associates a view with a command.

Call this function to associate a view with a command to be executed when the user double-clicks left mouse button on the view.

If uiCmd is 0, than the specified view is not associated anymore with a command.

Parameters
iViewIdSpecifies the view identifier.
uiCmdSpecifies the command identifier to be associated with the view.