| Home
| Previous
| Next
| Up

MS_moveTo

Moves the mouse cursor to a new location.

Declaration

void MGLAPI MS_moveTo(
int x,
int y)

Prototype In

mgraph.h

Parameters

x | New mouse x coordinate (screen coordinates)
y | New mouse y coordinate (screen coordinates)

Description

Moves the mouse cursor to the specified location in screen coordinates.

Note that it is not usually a good idea to move the mouse cursor around while the user is interacting with the application, but this can be used to restore the mouse cursor to a known location if it has been hidden for a long period of time.

See Also

MS_getPos

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com