Expand Minimize
0 out of 1 rated this helpful - Rate this topic

CMDIFrameWndEx::EnableDocking

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

BOOL EnableDocking(
   DWORD dwDockStyle 
);
[in] dwDockStyle

Specifies the docking style that you want to apply.

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

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

	EnableDocking(CBRS_ALIGN_ANY);

Header: afxMDIFrameWndEx.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.