bgiIsWindowEnabled

Checks if a window is enabled. Takes win (Int). Returns the enabled state of a BGI window by searching the gizmoMap for the window ID and returning its isEnabled property.

BGI GUI

Parameters & Returns

Parameters

win Int

Returns

Int

Quick Summary

Checks if a window is enabled. Takes win (Int). Returns the enabled state of a BGI window by searching the gizmoMap for the window ID and returning its isEnabled property.

Technical Exegesis...

Returns the enabled state of a BGI window by searching the gizmoMap for the window ID and returning its isEnabled property. Iterates through all gizmos until finding a match. Returns 1 (true) if the window is enabled and can receive user input, 0 (false) if disabled (grayed out), or -1 if the window ID is not found.

Enabled windows can receive keyboard and mouse input. Disabled windows appear grayed out and ignore user interaction.

Example

Example.bam
; No example implemented yet