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.
Related Functions
Example
nCitectWin=WinGetFocus();
! Gets the number of the Plant SCADA window that has
the keyboard focus