Microsoft SDK for Java

Cursor.getPosition

Retrieves the screen coordinates for the cursor's current position.

Syntax

public final static Point getPosition()

Return Value

Returns a Point object that contains the x and y coordinates of the cursor position.

See Also   setPosition

© 1999 Microsoft Corporation. All rights reserved. Terms of use.