CMDIFrameWndEx::EnableDocking
Visual Studio 2012
Enables docking of the panes that belong to the MDI frame window.
BOOL EnableDocking( DWORD dwDockStyle );
The following example shows how the EnableDocking method is used in the VisualStudioDemo Sample: MFC Visual Studio Application.
EnableDocking(CBRS_ALIGN_ANY);