WinGetFocus
Gets the number of the CitectSCADA window that has the keyboard focus.
Syntax
WinGetFocus()
Return Value
The window number of the CitectSCADA 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 CitectSCADA window that has the keyboard focus
See Also