bgiSetGizmoLayout

Sets the position and size of a gizmo control. Takes gizmo (Int), newX (Int), newY (Int), newWidth (Int), and newHeight (Int). Returns 1 on success, 0 if gizmo not found or MoveWindow failed.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
newX Int
newY Int
newWidth Int
newHeight Int

Returns

Int

Quick Summary

Sets the position and size of a gizmo control. Takes gizmo (Int), newX (Int), newY (Int), newWidth (Int), and newHeight (Int). Returns 1 on success, 0 if gizmo not found or MoveWindow failed.

Technical Exegesis...

Sets the position and size of a gizmo (control) with new X, Y, width, and height values. Searches gizmoMap for the gizmo ID. Calls MoveWindow with new coordinates and dimensions, TRUE for repaint. If successful, updates stored position (x, y, width, height) in CGizmo structure. Sends InvalidateRect with NULL (entire client area) and TRUE (erase background) to force redraw. Calls UpdateWindow to immediately repaint. Returns 1 on success, 0 if gizmo not found or MoveWindow failed.

Example

Example.bam
; No example implemented yet