Simple subtraction.
formX = mouseX - form1.left
formY = mouseY - form1.top
formMaxX = form1.left + form1.width
formMaxY = form1.top + form1.height
or something along those lines.
|
Results 1 to 5 of 5
Thread: Mouse TrackingThreaded View
|
Click Here to Expand Forum to Full Width |