Cicode Programming Reference > Cicode Function Categories > Window Functions > WinGetClicked

WinGetClicked

Gets the number of the Citect SCADA window that has most recently been clicked on using the left mouse button.

Syntax

WinGetClicked()

Return Value

The window number of the Citect SCADA window that has most recently been clicked on using the left mouse button. Be aware that this is not the same as the window handle, returned from the WndFind() function.

Related Functions

WndFind

Example

nCitectWin=WinGetClicked();
! Gets the number of the Citect SCADA window that has most recently been clicked on using the left mouse button.

See Also

Window Functions

Published June 2018