Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Over r Display Mes or out
#2
something like this should work for you
Code:
Copy      Help
int w=win("$My QM$" "CabinetWClass")
if(!w) ret
RECT r
SetRect &r 99 267 128 290 ;;coordinates in the client area of the window
POINT p
rep
,xm(p w 1)
,int inRect=PtInRect(&r p.x p.y)    
,OnScreenDisplay iif(inRect F"mouse is in rectangle[]Cursor coordinates are:[]{p.x} {p.y}" "mouse is not in rectangle") -1 0 0 0 0 0 4|8 "MouseInRect"
,0.3


Messages In This Thread
Mouse Over r Display Mes or out - by ScottF - 10-02-2020, 04:08 PM
RE: Mouse Over r Display Mes or out - by Kevin - 10-02-2020, 07:12 PM
RE: Mouse Over r Display Mes or out - by ScottF - 10-02-2020, 08:23 PM
RE: Mouse Over r Display Mes or out - by ScottF - 10-02-2020, 10:18 PM
RE: Mouse Over r Display Mes or out - by Kevin - 10-03-2020, 03:25 PM
RE: Mouse Over r Display Mes or out - by ScottF - 10-03-2020, 03:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)