Creates a multi-line text editor 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 multi-line text editor 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 multi-line text editor control with scrollbars. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using "EDIT" class with WS_CHILD | WS_VISIBLE | WS_BORDER | ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL | WS_HSCROLL style (enables multiple lines, vertical scrolling, horizontal scrollbar). Sets GUI font. Sets initial text with WM_SETTEXT. Creates CGizmo with GIZMO_MULTI_TEXT type, stores text, position, dimensions, state.
Creates a multi-line text editor control with scrollbars. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using "EDIT" class with WS_CHILD | WS_VISIBLE | WS_BORDER | ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL | WS_HSCROLL style (enables multiple lines, vertical scrolling, horizontal scrollbar). Sets GUI font. Sets initial text with WM_SETTEXT. Creates CGizmo with GIZMO_MULTI_TEXT type, stores text, position, dimensions, state. Returns gizmo ID on success, 0 if parent not found.
Multi-line textboxes allow text editing across multiple lines with scrolling. Suitable for notes, comments, code editing, or any large text input. Supports line breaks (Enter key creates new lines). Use bgiGetGizmoText to retrieve all text (includes line breaks). Use bgiSetGizmoText to programmatically set content. Generates BGI_EVENT_COMMAND_UPDATE on text changes. Vertical scrollbar appears when content exceeds height.