Hi people,
I hope you can help.
I have a GUI with a scrollable child GUI containing an image.
I am trying to get the x,y position of the mouse relative to the image.
I'm using
opt ('MouseCoordMode', 2)
MouseGetPos() and GUIGetCursorInfo($Child_GUI) both return the position of the mouse on the window.
So unless there is another command I have overlooked ??? !!
The alternate way is if I knew the current top and left of the image that is actually visible.
From this it would be simple to calculate the image (x,y) that the mouse is over.
I have used #include "GUIScrollbars_Ex.au3" for the scrollbars.
Had hoped the values I need would be lurking in that code but if they are I can't see them.
I suspect I am missing the point somewhere (again)
All help greatly appreciated.
Bob