SimpleWindow.warpMouse

"Warp" mouse pointer to coordinates relative to window top-left corner. Return "success" flag.

Please remember that the cursor is a shared resource that should usually be left to the user's control. Try to think for other approaches before using this function.

Note: "warping" pointer will not send any synthesised mouse events, so you probably doesn't want to use it to move mouse pointer to some active GUI area, for example, as your window won't receive "mouse moved here" event.

class SimpleWindow
bool
warpMouse
(
int x
,
int y
)

Meta