SECLayoutFactory::AutoPopulateNodeWnd

BOOLSECLayoutFactory::AutoPopulateNodeWnd(SECLayoutNode*pParentNode, CWnd*pParent, CRuntimeClass*pClassMask)

Automatically allocate, link, and add all children windows as children nodes

Defined in: FACTORY.CPP

Return Value

TRUE on success, FALSE on failure.

Parameters

pParentNode

Parent node for auto-population.

pParent

Pointer to parent window of children to autopopulate.

pClassMask

Class mask. If not NULL, only populate classes matching or derived from mask.

Comments

This function is useful for automatically configuring all child controls of a dialog, formview, etc. as child nodes of a particular layout.