Fills in pt with the current position of the mouse pointer in pixels.
Syntax
int _MousePosP(Point FAR *pt)
Point FAR *pt; /* Pointer. */
Remarks
_MousePosP( ) 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.