Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Edge HMI

IsViewerInFocus

  • Last UpdatedOct 29, 2026
  • 1 minute read

Verifies that the project viewer (Viewer.exe) is in focus on the display.

Function

Group

Execution

String Exp.

Windows

Windows Embedded

IoT View

Thin Clients

Mobile Access

IsViewerInFocus

Module Activity

Synchronous

Yes

Supported

Not supported

Not supported

Not supported

Not supported

Syntax

IsViewerInFocus ( )

This function takes no parameters.

Returned value

0

Viewer is not in focus.

1

Viewer is in focus.

Examples

IsViewerInFocus()

In This Topic