BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::OnBeforeDrag ( ) const
inlinevirtual

Called by the framework before user begins to drag the button.

Returns
Should return TRUE if the button can be dragged; otherwise FALSE.

This function is called by the framework before user begins to drag the button. Override this function in a derived class and return FALSE to disable dragging of a button.

The default implementation returns TRUE.