bgiCreateComboBox

Creates a dropdown combo box for selecting items. Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns gizmo ID on success, 0 if parent not found.

BGI GUI

Parameters & Returns

Parameters

x Int
y Int
width Int
height Int
parentWin Int

Returns

Int

Quick Summary

Creates a dropdown combo box for selecting items. Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns gizmo ID on success, 0 if parent not found.

Technical Exegesis...

Creates a combo box (dropdown list) control for selecting from a list of items. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using "COMBOBOX" class with WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST | WS_VSCROLL style (dropdown style, user cannot type custom values, vertical scroll in dropdown). Sets GUI font. Creates CGizmo with GIZMO_COMBOBOX type, stores position, dimensions, state (visible=true, enabled=true).

Example

Example.bam
; No example implemented yet