I have 2 XNA sections on the screen. The map area and the tileset area. I can accurately get the mouse position of the tile area but not the map area. The position on the map area is always random and often negative.
I use the same method for both:
//WorksSystem.Drawing.Point pos = this.tileArea.PointToClient(System.Windows.Forms.Control.MousePosition);//Doesn't WorkSystem.Drawing.Point pos = this.mapArea.PointToClient(System.Windows.Forms.Control.MousePosition);
Any clue what the problem is?