ListView_ItemRemove()

Examples


The ListView_ItemRemove() function removes the specified item from a list view field.

Syntax

ListView_ItemRemove(list_view_field, item_index)

Parameters

list_view_field – The list view field containing the specified item.

item_index – A long integer specifying the list view item to remove. To remove all items from the list view field, specify the constant LV_ALL.

Return value

A boolean indicating whether the item was removed. True indicates the item was removed, while false indicates it was not.

Comments

When an item is removed from a list view field, all of its subitems are removed as well.


Documentation Feedback