RemoteDesktopClient.OnTouchPointerCursorMoved event

[OnTouchPointerCursorMoved is no longer available for use as of Windows 10 and Windows Server 2016 Technical Preview.]

Called when the touch pointer cursor has moved and the EventsEnabled property is set to true.


function handler(x, y) { /* Your code */ }

// attachEvent syntax
remoteDesktopClient.attachEvent("ontouchpointercursormoved", handler);
remoteDesktopClient.detachEvent("ontouchpointercursormoved", handler);

Event handler parameters

  • x [in]
    Type: Number

    Specifies the new horizontal position of the cursor.

  • y [in]
    Type: Number

    Specifies the new vertical position of the cursor.


Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

End of client support

Windows 8.1

End of server support

Windows Server 2012 R2

See also