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
xInt
yInt
widthInt
heightInt
parentWinInt
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.
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. Click a tab to switch between pages. Use bgiAppendGizmoItem to add tabs with labels. Switching tabs generates BGI_EVENT_COMMAND_UPDATE notifications. Typically you show/hide different panels or controls based on selected tab. Use bgiGetSelectedGizmoItem to determine which tab is active. Common for preferences dialogs, settings pages, or multi-section interfaces.