Removes all items from a list box or combo box.
Takes gizmo (Int).
Returns 1 on success, 0 if gizmo not found or unsupported gizmo type.
BGI GUI
Parameters & Returns
Parameters
gizmoInt
Returns
Int
Quick Summary
Removes all items from a list box or combo box.
Takes gizmo (Int).
Returns 1 on success, 0 if gizmo not found or unsupported gizmo type.
Technical Exegesis...
Removes all items from a list box or combo box control, clearing it completely. Searches gizmoMap for the gizmo ID. For GIZMO_LISTBOX, sends LB_RESETCONTENT message. For GIZMO_COMBOBOX, sends CB_RESETCONTENT message. Returns 1 on success, 0 if gizmo not found or unsupported gizmo type.
This function clears all list/combo items in one operation. More efficient than calling bgiRemoveGizmoItem in a loop. Works with both GIZMO_LISTBOX and GIZMO_COMBOBOX types.
Removes all items from a list box or combo box control, clearing it completely. Searches gizmoMap for the gizmo ID. For GIZMO_LISTBOX, sends LB_RESETCONTENT message. For GIZMO_COMBOBOX, sends CB_RESETCONTENT message. Returns 1 on success, 0 if gizmo not found or unsupported gizmo type.
This function clears all list/combo items in one operation. More efficient than calling bgiRemoveGizmoItem in a loop. Works with both GIZMO_LISTBOX and GIZMO_COMBOBOX types. Use for refreshing list contents, clearing search results, or resetting selections. Selection state is cleared (no item selected after clear). Common pattern: clear list, then rebuild with new items using bgiAppendGizmoItem.