Removes all rows from the list view, leaving it empty.
Takes listViewID (Int).
Returns 1 on success, 0 if list view not found.
BGI GUI
Parameters & Returns
Parameters
listViewIDInt
Returns
Int
Quick Summary
Removes all rows from the list view, leaving it empty.
Takes listViewID (Int).
Returns 1 on success, 0 if list view not found.
Technical Exegesis...
Removes all rows (items) from a list view control, leaving it empty. Searches gizmoMap for the list view ID. Calls ListView_DeleteAllItems to delete all items. Returns 1 on success, 0 if list view not found.
This function clears all data rows from the list view. Column headers (added with bgiAddListViewColumn) remain intact - only item rows are deleted. More efficient than calling bgiRemoveListViewItem in a loop. Use for refreshing list contents, clearing search results, or resetting data displays.
Removes all rows (items) from a list view control, leaving it empty. Searches gizmoMap for the list view ID. Calls ListView_DeleteAllItems to delete all items. Returns 1 on success, 0 if list view not found.
This function clears all data rows from the list view. Column headers (added with bgiAddListViewColumn) remain intact - only item rows are deleted. More efficient than calling bgiRemoveListViewItem in a loop. Use for refreshing list contents, clearing search results, or resetting data displays. After clearing, list view is empty but columns are still defined. Can immediately repopulate with bgiAddListViewItem. Selection state is cleared. Common pattern: clear list, then rebuild with new data.