bgiCreateRichTextBox

Creates a rich text editor with formatting support. 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 rich text editor with formatting support. 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 rich text box control supporting formatted text (bold, italic, colors, fonts). Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Loads Rich Edit library (Msftedit.dll). Creates using MSFTEDIT_CLASS (RichEdit 4.1) with WS_CHILD | WS_VISIBLE | WS_BORDER | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL style (multi-line with vertical scrolling). Sets GUI font. Creates CGizmo with custom RichTextBox type, stores position, dimensions, state.

Example

Example.bam
; No example implemented yet