bgiClearGizmoList

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

gizmo Int

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.

Example

Example.bam
; No example implemented yet