AnsweredAssumed Answered

Add-In tool: how can I find out if left or right mouse button has been clicked?

Question asked by schneider.barbara@gmx.ch on Jun 21, 2019
Latest reply on Jun 21, 2019 by sean_jones-esristaff

In an ArcMap Add-In, I created a Tool. In the OnMouseUp Event, I would like to find out if the right or left mouse button has been clicked:

protected override void OnMouseUp(MouseEventArgs arg)
{
}

 

This information should probably be in the MouseEventArgs, but I haven't found out where.

Outcomes