I'm trying to create a level editor with Winforms for my XNA game, but I have run in to a small issue. I have a XNA game class running in a picturebox control, but when I have my mouse being tracked in the control the X position of the mouse is tracked fine but the Y position is not tracked correctly. The further from the top of the control the less the mouse is being tracked. I thought that setting the Window Handle of the mouse was the problem, but that is set correctly.
closed as off-topic by Josh Petrie♦ Apr 7 '14 at 15:38
This question appears to be off-topic. The users who voted to close gave this specific reason: