Compartilhar via


CMDIChildWndEx::EnableDocking

Enables docking of the child window to the main frame.

BOOL EnableDocking(
   DWORD dwDockStyle
);

Parameters

  • [in] dwDockStyle
    Specifies the docking alignment to enable.

Return Value

TRUE if the method succeeds; otherwise FALSE.

Remarks

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).

Requirements

Header: afxmdichildwndex.h

See Also

Reference

CMDIChildWndEx Class

Hierarchy Chart