With a Windows environment window, HWND, how do you get the coordinates of a mouse click on that window?
edit: sorry for the vagueness. I have a HWND object and I am doing some image analysis on it. I want to be able to click on a spot on the image displayed within the HWND object and print out the x,y coordinate of my click, as well as some properties of the image at the x and y coordinate