ns=2;s=DEPRAG Smart/Local/MouseFunctions/StopDetectingMouseClick
Stops monitoring the position of the mouse when a mouse button is pressed.
In addition to the parameters already explained, the following variables must be created / transferred for the implementation in TwinCAT 3:
VAR
bMouseFunctionsStopDetectingMouseClick : BOOL;
OutputDataMouseFunctionsStopDetectingMouseClick : ST_VoidOutputData;
hrMouseFunctionsStopDetectingMouseClick : HRESULT;
fbMouseFunctions : FB_MouseFunctions;
END_VAR
hrMouseFunctionsStopDetectingMouseClick := fbMouseFunctions.StopDetectingMouseClick(
bExecute := bMouseFunctionsStopDetectingMouseClick,
ConnectionHandle := depragSmartConnection.ConnectionHandle,
OutputData => OutputDataMouseFunctionsStopDetectingMouseClick);
IF hrMouseFunctionsStopDetectingMouseClick <> S_FALSE THEN
bMouseFunctionsStopDetectingMouseClick := FALSE;
END_IF
For examples and explanations regarding the calls of nodes via Siemens TIA Portal please refer to the sub-menu "Siemens TIA Portal" in section "Getting Started".