SEC_TREECLASS::NodeIndex

intSEC_TREECLASS::NodeIndex(Node*pNode, intnStartFrom)

Returns the list index of a Node.

Defined in: trcore.inl

Return Value

The list index for the specified HTREEITEM if successful; otherwise -1.

Parameters

pNode

Pointer to the Node to get the list index for.

nStartFrom

The list index of the item to start searching from. Default is 0.

Comments

Use this function to retrieve the list index of an itemusing its Node*.