bgiCreateMultiLineTextbox

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

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

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.

Example

Example.bam
; No example implemented yet