Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IsDesktopRunning Function

Overview

The IsDesktopRunning function tests whether the application main message dispatch loop is running.

Syntax/Parameters

Syntax

boolean = IsDesktopRunning ( );

Parameters

(none)

Return Value

Returns TRUE if the main application message loop is running FALSE if not.

Remarks

After the application frame is displayed, the application will enter into the main application message loop and dispatch messages to windows until the application exits. The IsDesktopRunning function checks to see if the message loop flag is set and returns the return. 

Console applications will always return FALSE. When a script is run during the application initialization process, this function will return FALSE.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic