bgiGetGizmoY

Gets the Y coordinate (vertical position) of a gizmo. Takes gizmo (Int). Returns stored y value from CGizmo structure on success, -1 if gizmo not found.

BGI GUI

Parameters & Returns

Parameters

gizmo Int

Returns

Int

Quick Summary

Gets the Y coordinate (vertical position) of a gizmo. Takes gizmo (Int). Returns stored y value from CGizmo structure on success, -1 if gizmo not found.

Technical Exegesis...

Gets the Y coordinate (vertical position) of a gizmo control. Searches gizmoMap for the gizmo ID. Returns stored y value from CGizmo structure on success, -1 if gizmo not found.

This function retrieves the control's vertical position in pixels, relative to its parent window's client area. Returns the value set during creation or via bgiSetGizmoLayout. Use for querying control positions, calculating relative layouts, or alignment operations. Returns -1 for invalid gizmo IDs.

Example

Example.bam
; No example implemented yet