Get  Mouse

The Get function retrieves the position of the mouse cursor in pixels.

The coordinates are relative to screen.

Syntax

Integer Mouse.Get(
     Point point)

Parameters

pointThe point receives the position.Required

Return value

The Get function returns true.

If an error occurs, the Get function returns false.

Example

Point pt new
myMouse.Get(pt)
MessageBox(pt.GetX()+", "+pt.GetY())
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia