SECLayoutFactory::CreateNodeWndRange

intSECLayoutFactory::CreateNodeWndRange(UINTnIDStart, UINTnIDEnd, CWnd*pParent, SECLayoutNode*pParentNode, CPtrArray*pArrNodes, SECLayoutNodeWndClassFactory&classNodeWnd)

Create a group of window nodes from a range of control ids

Defined in: FACTORY.CPP

Return Value

Number of nodes created, or -1 on error

Parameters

nIDStart

Beginning id of control range

nIDEnd

Ending id of control range

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 between a predictable control id range.