SECFrameWnd::DockControlBar

Dock a control bar, either from a floating bar, or dragged from another dockbar.

Defined in: swinfrm.cpp

Syntax

DockControlBar(CControlBar* pBar, UINT nDockBarID, LPCRECT lpRect)

DockControlBar(CControlBar* pBar, CDockBar* pDockBar, LPCRECT lpRect)

Return Value

void

Parameters

pBar

A pointer to the bar to be docked.

nDockBarID

The id of the dockbar that the bar is to be docked in.

pDockBar

A pointer to the dockbar that the bar is to be docked in.

lpRect

The desired rect for the docked bar.