Creates a static text label control.
Takes text (String), 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
textString
xInt
yInt
widthInt
heightInt
parentWinInt
Returns
Int
Quick Summary
Creates a static text label control.
Takes text (String), 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 static text label for displaying non-editable text. Searches gizmoMap for parent window HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using "STATIC" class with SS_LEFT style (left-aligned text). Sets GUI font with WM_SETFONT. Creates CGizmo with GIZMO_LABEL type, stores text, position, dimensions, state (visible=true, enabled=true). Returns gizmo ID on success, 0 if parent not found.
Labels display static text that users cannot edit.
Creates a static text label for displaying non-editable text. Searches gizmoMap for parent window HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using "STATIC" class with SS_LEFT style (left-aligned text). Sets GUI font with WM_SETFONT. Creates CGizmo with GIZMO_LABEL type, stores text, position, dimensions, state (visible=true, enabled=true). Returns gizmo ID on success, 0 if parent not found.
Labels display static text that users cannot edit. Common for field labels ("Name:", "Address:"), instructions, or informational text. Use bgiSetGizmoText to update the displayed text. Labels don't generate click events. The text is left-aligned by default and automatically wraps if it exceeds the width. Use bgiSetGizmoVisibility to show/hide dynamically.