Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle. | |||
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 can be changed. Use the handle of the item to identify an item. The ItemPosition property is not available if the control is running in the virtual mode. Use the SortChildren method to sort the child items. Use the SortOrder property to sort a column. Use the NextVisibleItem property to enumerate items as they are displayed. The SortableItem property specifies whether the item keeps its position after sorting.