How can i find the current mouse position?
Thanks
Sigal.
Printable View
How can i find the current mouse position?
Thanks
Sigal.
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
Thanks.