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 child window to the main frame.

BOOL EnableDocking(
   DWORD dwDockStyle

[in] dwDockStyle

Specifies the docking alignment to enable.

TRUE if the method succeeds; otherwise FALSE.

Call this method to enable docking alignment to the main frame. You can pass a combination of CBRS_ALIGN_ flags (for more information, see CControlBar::EnableDocking).

Header: afxmdichildwndex.h

© 2015 Microsoft