bgiCreateTabControl

Creates a tab control for organizing pages. 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 tab control for organizing pages. 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 tab control for organizing content into multiple tabbed pages. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using WC_TABCONTROL class with WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE style. Sets GUI font. Creates CGizmo with custom tab control type, stores position, dimensions, state (visible=true, enabled=true). Returns gizmo ID on success, 0 if parent not found.

Tab controls display a row of tabs, each representing a different page.

Example

Example.bam
; No example implemented yet