SECLayoutFactory::CreateNodeWndArray

intSECLayoutFactory::CreateNodeWndArray(const UINT*lpuIDs, intnIDCount, CWnd*pParent, SECLayoutNode*pParentNode, CPtrArray*pArrNodes, SECLayoutNodeWndClassFactory&classNodeWnd)

Create a group of window nodes from an array of control ids

Defined in: FACTORY.CPP

Return Value

Number of nodes created, or -1 on error.

Parameters

lpuIDs

Array of control ids for window node creation

nIDCount

Number of items in lpuIDs

pParent

CWnd pointer to parent window of new nodes

pParentNode

Layout node parent of newly created window nodes, can be NULL.

pArrNodes

Array of created nodes. Factory will deallocate nodes!

classNodeWnd

Class type for object creation.

Comments

Use this function to create multiple window nodes from a preset id array.

See Also

CreateNode