bgiInsertGizmoItem

Inserts an item at a specific index in a list box or combo box. Takes gizmo (Int), text (String), and index (Int). Returns 1 or 0 if LB_ERR.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
text String
index Int

Returns

Int

Quick Summary

Inserts an item at a specific index in a list box or combo box. Takes gizmo (Int), text (String), and index (Int). Returns 1 or 0 if LB_ERR.

Technical Exegesis...

Inserts an item at a specific index position in a list box or combo box. Searches gizmoMap for the gizmo ID. For GIZMO_LISTBOX, sends LB_INSERTSTRING with index and text, returns 1 or 0 if LB_ERR. For GIZMO_COMBOBOX, sends CB_INSERTSTRING with index and text, returns 1 or 0 if LB_ERR (note: uses LB_ERR constant for CB check). Returns 0 if gizmo not found or unsupported gizmo type.

This function inserts an item at any position (not just at end like bgiAppendGizmoItem).

Example

Example.bam
; No example implemented yet