Evaluating which mouse button is pressed

  • Thread starter Thread starter JezB
  • Start date Start date
J

JezB

How can I evaluate which mouse button was pressed when the event being fired
does NOT have a MouseEventArgs argument? In this case it's the
BalloonTipClicked message from a NotifyIcon control :

private void trayIcon_BalloonTipClicked(object sender, EventArgs e)
{
// only want to do this on left click really
openTask();
}
 
Back
Top