Click to See Complete Forum and Search --> : How to detect the current Mouse position?


Sigal Laniado
December 6th, 1999, 02:57 AM
How can i find the current mouse position?
Thanks
Sigal.

Ravi Kiran
December 6th, 1999, 03:50 AM
GetCurPos APi gives it w.r.t the screen.
Defn., from API viewer:

Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint as POINTAPI) as Long



Then you can find if it is in rect/rgn of interest using Ptinrect kind of APIS


RK

Sigal Laniado
December 6th, 1999, 03:54 AM
Thanks.