Evaluating which mouse button is pressed

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();
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top