CFrameWnd::EnableDocking

void EnableDocking( DWORD dwDockStyle );

Parameters

dwDockStyle

Specifies which sides of the frame window can serve as docking sites for control bars. It can be one or more of the following:

Remarks

Call this function to enable dockable control bars in a frame window. By default, control bars will be docked to a side of the frame window in the following order: top, bottom, left, right.

CFrameWnd OverviewClass MembersHierarchy Chart

See Also   CControlBar::EnableDocking, CFrameWnd::DockControlBar, CFrameWnd::FloatControlBar