The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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