SmartCode ViewerX

ISmartCodeVNCViewer::OnMouseMove Event


Fired when the server-side cursor moves. For performance reasons, this event is not fired by default. Use EnableMouseMoveEvent property to enable this event.

Syntax

HRESULT OnMouseMove(long x, long y);

Parameters

x
Specifies the x-coordinate of the cursor.
y
Specifies the y-coordinate of the cursor.

Return Value

Returns S_OK if successful, or an error value otherwise.