Hi
This is a useful code.Bit i want to use it with a little modification.In this code the coordinates are given with respect to the screen,whereas in my GUi i have displayed an image and i want to get the image coordinates means the pixel positions.PointerLocation used in this program gives the screen coordinates.Please help me to resolve this problem.
Hi!
One question: I am working with a mtrix that I display on an imagesc and I would like to know mouseposition on this imagesc, so your function seem to be what I need, but I am wondering of your function works also when zooming in and out on the imagesc (ie does it return mouseposition x-y coordinates on the entire matrix (that would be great) or within the piece of matriz displayed when zooming ? in the second case, do you have any advice?
Thanks a lot in advance