SECFrameDockingFeatureBase::DockNode

Dock a dockable layout node to the associated frame window

Defined in: FrameDockBase.cpp

Syntax

DockNode(SECLayoutNode* pNode)

DockNode(SECLayoutNode* pNode,DockSite site)

Return Value

TRUE on successful dock, otherwise FALSE

Parameters

pNode

Node to be docked.

site

Docksite border for docking. Can be one of the following:

SECFrameDockingFeatureBase::top
SECFrameDockingFeatureBase::bottom
SECFrameDockingFeatureBase::left
SECFrameDockingFeatureBase::right

Comments

Call this function to dock a node to the default location on a particular border. If no dock site is specified, node is docked to the top border. This function can also be called to redock a node that is already in a docked or floating state.