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
gizmoInt
visibleInt
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).
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). Hidden controls are not displayed and don't receive user input, but retain their position, size, and state. Use for conditional interfaces, wizard-style dialogs, or dynamic layouts. UpdateWindow ensures immediate visual update. Hidden controls don't generate events.