CFrameWnd::DockControlBar

void DockControlBar( CControlBar * pBar, UINT nDockBarID = 0, LPCRECT lpRect = NULL );

Parameters

pBar

Points to the control bar to be docked.

nDockBarID

Determines which sides of the frame window to consider for docking. It can be 0, or one or more of the following:

lpRect

Determines, in screen coordinates, where the control bar will be docked in the nonclient area of the destination frame window.

Remarks

Causes a control bar to be docked to the frame window. The control bar will be docked to one of the sides of the frame window specified in the calls to both CControlBar::EnableDocking and CFrameWnd::EnableDocking. The side chosen is determined by nDockBarID.

CFrameWnd OverviewClass MembersHierarchy Chart

See Also   CFrameWnd::FloatControlBar