Fills in pt with the current position of the mouse pointer.
Syntax
int _MousePos(Point FAR *pt)
Point FAR *pt; /* Pointer. */
Remarks
_MousePos( ) returns True (an integer other than 0) if the left mouse button is down when the function is called, or False (0) if the left mouse button isn't down.
For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.