bgiCreateProgressBar

Creates a progress bar for showing task completion. 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 progress bar for showing task completion. 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 progress bar control for visualizing task completion or progress. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using PROGRESS_CLASS with WS_CHILD | WS_VISIBLE style. Initializes range to 0-100 with PBM_SETRANGE, sets position to 0 with PBM_SETPOS. Creates CGizmo with GIZMO_PROGRESSBAR type, stores position, dimensions, state (visible=true, enabled=true). Returns gizmo ID on success, 0 if parent not found.

Example

Example.bam
; No example implemented yet