Beckhoff Automation GmbH & Co. KG TX1200 — 10.7.5 Scan of mouse-clicks and dynamic texts

Visualization Return value: FALSE – No text matching „stPrefix“ and „stID“ was found. TRUE - A text matching „stPrefix“ and „stID“ was found. Additionally it is possible to scann user mouse events. For this do you have to insert the library TcMouseEvents.lib with the following functionallity: Function GetLastLeftMouseDownEvent : BOOL resp. Funktion GetLastRightMouseDownEvent : BOOL This function provides information on the last performed "Left" resp. "Right" MouseDown Event. It contains a pointer (pMouseEvent : POINTER TO MOUSEEVENT;) on structure MouseEvent consisting of the following parameters: Return value: No return value. Function GetLastMouseMoveEvent :

BOOL This function provides information on the last performed MouseMove-Event. It contains a pointer (pMouseEvent : POINTER TO MOUSEEVENT;) on structure MouseEvent, see above:function GetLastMouseDownEvent. Return value: No return value. Function GetLastLeftMouseUpEvent : BOOL resp. Function GetLastRightMouseUpEvent : BOOL This function provides information on the last performed "Left" resp. "Right" MouseUp-Event. It contains a pointer (pMouseEvent : POINTER TO MOUSEEVENT;) on structure MouseEvent, see above: function GetLastLeftMouseDownEvent resp. GetLastRightMouseDownEvent Return value: No return value. TX1200 329 Version: 1.3 stResult:

STRING(256); Serves as an IN OUT parameter and gets assigned the text found by prefix _ string „stPrefix“ and ID „dwID“. nResultLength:INT; Define here the maximum length of the string „stResult“, if this is stPrefix: STRING; Prefix of the text entry in the currently used dynamic textlist. stID: STRING; ID of the text entry in the currently used dynamic textlist. dwCounter : DWORD; Number of MouseDown-Events since system start. With these parameters it can be evaluated whether no, one or multiple events have been prompted since the last request. nXPos : INT; Last mouse position in X/Y-coordinates. nYPos : INT;