mouse position in click-event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi NG,

How can i get the Mouse position in a Click-Event (parameter of method is a EventArgs object!)?

Thanks and Regards,
Stefan
 
* =?Utf-8?B?U3RlZmFu?= said:
How can i get the Mouse position in a Click-Event (parameter of method is a EventArgs object!)?

Why not set up a handler fot the 'MouseUp' event? Alternatively, you
can use 'Cursor.Position' in the 'Click' event handler.
 
Back
Top