BCGControlBar Pro for MFC
BOOL CBCGPMDIFrameWnd::EnableDocking ( DWORD  dwDockStyle)

Enables docking of the toolbars that belongs the MDI frame window.

Call this function to enable docking of the toolbars that belong to the CBCGPMDIFrameWnd object.

Parameters
dwDockStyleSpecifies the desired docking style.