How can I use the WM_MOUSEMOVE message so that when I move the mouse over a picture control, that has a picture displayed in it, I can get the pictures x and y coordinates. What I have so far is, I can get the x and y coordinates of the whole dialog based program that I made, I then found out where the picture control was located and founds it x and y position and then subtracted those dimensions from the WM_MOUSEMOVE to get the x and y coordinates of the picture control. Well that really is not what I wanted. I want to wrap the WM_MOUSEMOVE to the picture control and not the Dialog based program, so that I can get the exact x and y coordinates of the picture displayed inside of the picture control. Any suggestions?