SEC_TREECLASS::ItemIndex
intSEC_TREECLASS::ItemIndex(HTREEITEMhti, intnStartFrom)
Returns the list index of an HTREEITEM.
Defined in: trcore.inl
Return Value
The list index for the specified HTREEITEM if successful; otherwise -1.
Parameters
hti
Handle of the item 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 HTREEITEM.