CLayoutManagerRootBase::AutoPopulate

voidCLayoutManagerRootBase::AutoPopulate(ILayoutNode*pRootNode)

Automatically creates a child node of the passed node for each child window the master window is parent of.

Defined in: LayoutManager.h

Parameters

pRootNode

Layout node to populate automatically.

Comments

AutoPopulate is called implicitly during the initialization process on the root node of the tree if this node is empty when the CLayoutManagerRootBase version of  InitLayout is invoked.
This automatic mechanism for filling the node is adequate for simple layout algorithms that do not require additional settings, like Scale layout.