Translates a point in screen-relative coordinates to window-relative coordinates.
Syntax
void _GlobalToLocal(Point FAR *pt, WHANDLE wh)
Point FAR *pt; /* Point. */
WHANDLE wh; /* Window handle. */
Remarks
Before calling _GlobalToLocal( ), call _FindWindow( ) to determine which window owns the point.
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.