Forum Post: Re: Oe 11.51: Abl Form: Identify On Which Widget The Mouse Is Currently Pointing

  • Thread starter Thread starter Stefan Marquardt
  • Start date Start date
Status
Not open for further replies.
S

Stefan Marquardt

Guest
Hi Matt, in general it's working. With WalkingChild I get now every widget from the active-window. This works with the most windows but not with all. In some windows the coordinates are different than fetched with GetCursorPos and recalculated with ScreenToClient. The pointer is on 228 where the upper left corner of the widget is, but the widget has 174 as Y value. So I get the values being ~ 50 pixels above the visible widget. The windows has many frames (visible and not visible) The first frame at the top is o.k. and the one at the bottom. The second with the offset, below the first once seems to have as offset the height of the first one above. Other windows has many frames too but not this effect. What can be the cause of the offset between the calculated mouse position and the widget position?

Continue reading...
 
Status
Not open for further replies.
Back
Top