Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
Find all posts by this user
Quote this message in a reply
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.

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.
Find all posts by this user
Quote this message in a reply
04-14-2012, 01:03 PM
Post: #3
MouseDown MouseUp wrong mouse position
Radically the incorrect information

Tiene que ordenar Tadalafilo generico sin receta en linea de alta calidad no perdiendo tiempo. Puede comprar Cialis 20 mg online ademas.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)