Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


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