bgiSetGizmoVisibility

Shows or hides a gizmo control. Takes gizmo (Int) and visible (Int). Returns 1 on success, 0 if gizmo not found.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
visible Int

Returns

Int

Quick Summary

Shows or hides a gizmo control. Takes gizmo (Int) and visible (Int). Returns 1 on success, 0 if gizmo not found.

Technical Exegesis...

Shows or hides a gizmo control based on the visible parameter. Searches gizmoMap for the gizmo ID. If visible is non-zero, calls ShowWindow with SW_SHOW, sets isVisible to true. If visible is zero, calls ShowWindow with SW_HIDE, sets isVisible to false. Calls UpdateWindow to apply changes immediately. Returns 1 on success, 0 if gizmo not found.

This function controls control visibility. visible is boolean (non-zero = show, 0 = hide).

Example

Example.bam
; No example implemented yet