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

AVEVA™ Plant SCADA

PageActiveWindowHandle

  • Last UpdatedJul 13, 2023
  • 1 minute read

Retrieves the window handle of the active page.

Syntax

PageActiveWindowHandle(WindowHandle)

WindowHandle:

The active window handle. The handle is NULL if there is no active window. In VB, this is the return value.

Return Value

The active window handle. The handle is NULL if there is no active window.

Note: For details on handling return and error values, see Error Handling.

Example

' Retrieves the window handle of the active pageMyVariable = GraphicsBuilder.PageActiveWindowHandle

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in