bgiClearListView

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

listViewID Int

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.

Example

Example.bam
; No example implemented yet