bgiSetProgressBarGizmoValue

Sets the current position/value of a progress bar control. Takes gizmo (Int) and value (Int). Returns 1 on success, 0 if gizmo not found.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
value Int

Returns

Int

Quick Summary

Sets the current position/value of a progress bar control. Takes gizmo (Int) and value (Int). Returns 1 on success, 0 if gizmo not found.

Technical Exegesis...

Sets the current position/value of a progress bar control. Searches gizmoMap for the gizmo ID. Sends PBM_SETPOS message to the progress bar HWND with the value parameter. Returns 1 on success, 0 if gizmo not found.

This function updates the visual fill level of the progress bar. The value should be within the progress bar's range (default 0-100, set during creation with PBM_SETRANGE). PBM_SETPOS is the Windows message for setting progress bar position. Values outside the range are clamped to min/max.

Example

Example.bam
; No example implemented yet