bgiCreateLabel

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

text String
x Int
y Int
width Int
height Int
parentWin Int

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.

Example

Example.bam
; No example implemented yet