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

AVEVA™ Plant SCADA

WinGetFocus

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the number of the Plant SCADA window that has the keyboard focus.

Syntax

WinGetFocus()

Return Value

The window number of the Plant SCADA window that has the keyboard focus. Be aware that this is not the same as the window handle, returned from the WndFind() function.

WndFind

Example

nCitectWin=WinGetFocus();

! Gets the number of the Plant SCADA window that has
the keyboard focus

See Also

Window Functions

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