IBorderClientLayout::AddLayoutNode method

int AddLayoutNode(ILayoutNode*pNode, BorderPositionposition)

Adds a child layout node to this node's children list.

Defined in: BorderClient.h

Return Value

Returns the new number of child nodes in this node's children list.

Parameters

pNode

Node being added.

position

Area of the Border-Client arrangement the new node will be responsible for. Must be a member of the BorderPosition enumerated type.

Comments

This is a variation of the ILayoutNode::AddLayoutNode method, that takes a second parameter specifying the area the node being aggregated will occupy. The ILayoutNode::AddLayoutNode version should not be used with BorderClient nodes, as it does not allow specifying this important piece of information.