Partager via


CMDIFrameWndEx::EnableDocking

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

BOOL EnableDocking(
   DWORD dwDockStyle 
);

Parameters

  • [in] dwDockStyle
    Specifies the docking style that you want to apply.

Remarks

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

Example

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

    EnableDocking(CBRS_ALIGN_ANY);

Requirements

Header: afxMDIFrameWndEx.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart