bgiCreatePanel

Creates a panel container for organizing controls. Takes text (String), x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns panel 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 panel container for organizing controls. Takes text (String), x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns panel ID on success, 0 if parent not found.

Technical Exegesis...

Creates a panel - a child window container for organizing and grouping controls. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates child window with WS_CHILD | WS_VISIBLE | WS_BORDER style. Registers custom window class if needed. Sets background color. Creates CGizmo with GIZMO_WINDOW type (panels are child windows), stores position, dimensions, state (visible=true, enabled=true). Returns panel ID on success, 0 if parent not found.

Example

Example.bam
; No example implemented yet