MouseDown, MouseUp - wrong mouse position?
|
12-07-2011, 05:31 PM
Post: #1
|
|||
|
|||
MouseDown, MouseUp - wrong mouse position?
I registered to the dsImageDisplay mouse events - MouseUp and MouseDown.
When I press the left mouse button without moving the cursor - I do receive those events but with different locations (MouseEventArgs). I think the offeset is consistent, and changed when the control is resized. When pressing the right mouse button - the locations are equal. The dsImageDisplay is docked (try also none docked) inside a tableLayoutPanel. Any idea? Best regards, Bodeg. |
|||
12-08-2011, 12:35 AM
Post: #2
|
|||
|
|||
RE: MouseDown, MouseUp - wrong mouse position?
Once I set the dsImageDisplay.Center property to false, the problem has been solved.
(12-07-2011 05:31 PM)bodeg Wrote: I registered to the dsImageDisplay mouse events - MouseUp and MouseDown. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)