The ListView_ItemGetSubitem() function retrieves a subitem from the specified list view item.
ListView_ItemGetSubitem(list_view_field, item_index, subitem)
• list_view_field – The list view field containing the specified item.
• item_index – A long integer specifying the list view item from which a subitem is being retrieved.
• subitem – An integer specifying the subitem to retrieve.
A string containing the subitem.
You can use the ListView_ItemGetSubitem() function to retrieve the label of a list view item by specifying 0 or the constant LV_ITEM_LABEL as the subitem to retrieve.