guiCloseDialogs (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-400

Firmware version:

1.00.00


This function closes all open dialogs, including system dialogs.

 

Input:

None.

 

Returns: INT

0

- Success.

-11

- The GUI API is not supported.

 

Declaration:

FUNCTION guiCloseDialogs : INT;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  rc     : INT;
END_VAR;
 
BEGIN
  ...
  // Closes any open dialogs
  rc := guiCloseDialogs();
  ...
END;
END_PROGRAM;