bgiCreateTreeView

Creates a tree view control for hierarchical data. 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 tree view control for hierarchical data. 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 tree view control for displaying hierarchical data with expandable/collapsible nodes. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using WC_TREEVIEW class with WS_CHILD | WS_VISIBLE | WS_BORDER | TVS_HASLINES | TVS_HASBUTTONS | TVS_LINESATROOT style (connecting lines, expand/collapse buttons, lines at root level). Sets GUI font. Creates CGizmo with GIZMO_TREEVIEW type, stores position, dimensions, state (visible=true, enabled=true).

Example

Example.bam
; No example implemented yet