SECMultiDocTemplate::Dock
CFrameWnd*SECMultiDocTemplate::Dock(CFrameWnd*pFrameOld, UINTnDockBarID, SECDockPos*pDockPos, SECDockSize*pDockSize)
Dock a child frame at a specific point.
Defined in: Sdocmult.cpp
Return Value
CFrameWnd* Pointer to new frame resulting from dock operation.
Parameters
pFrameOld
Frame to dock. Note: This frame will be destroyed in favor of new docked frame.
nDockBarID
Dockbar parent of new frame. Can be AFX_IDW_DOCKBAR_TOP, AFX_IDW_DOCKBAR_BOTTOM, AFX_IDW_DOCKBAR_LEFT, AFX_IDW_DOCKBAR_RIGHT, or 0. If 0, SECMDIFrameWnd::OnSetDefaultDockPosAndSize() is called to determine a value.
pDockPos
Pointer to dock position structure. Defined in sbardock.h. If null pointer, SECMDIFrameWnd::OnSetDefaultDockPosAndSize() is called to determine a value.
pDockSize
Pointer to dock position size. Defined in sbardock.h. If null pointer, SECMDIFrameWnd::OnSetDefaultDockPosAndSize() is called to determine a value.