IsScreenActive()

Syntax

Result = IsScreenActive()
Description
Checks if the screen still has the main input focus. If not, appropriate actions should be taken such as ReleaseMouse(), pause the game, stop the sounds etc.

Parameters

None.

Return value

Nonzero if the screen is still active, zero otherwise.

See Also

OpenScreen(), OpenWindowedScreen(), ReleaseMouse(), FlipBuffers()

Supported OS

All

<- FullScreen() - Screen Index - OpenScreen() ->