property Items.ItemPosition(Item as HITEM) as Long
Retrieves or sets a value that indicates the item's position in the children list.

TypeDescription
Item as HITEM A long expression that indicates the handle of the item.
Long A long expression that indicates the item's position in the children list.

The ItemPosition property gets the item's position in the children items list. When the control sorts a column the position for each item is changed based on the sorting criteria. Use the item's handle to identity an item. Use the ItemByIndex property to get the handle of the item giving its index. Use the ItemChild property to get the first child item. Use the NextVisibleItem property to get the next visible item. The NextSiblingItem property retrieves the next sibling of the item in the parent's child list. Use the SortChildren method to sort the child items. Use the SortOrder property to sort a column.