Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Enables docking of the panes that belong to the MDI frame window.

BOOL EnableDocking(
   DWORD dwDockStyle 

[in] dwDockStyle

Specifies the docking style that you want to apply.

Call this function to enable docking of panes that belong to the CMDIFrameWndEx object.

The following example shows how the EnableDocking method is used in the VisualStudioDemo Sample: MFC Visual Studio Application.


Header: afxMDIFrameWndEx.h

© 2015 Microsoft