C
cmelnick
I need to determine whether the user used the right or left mouse
button to click an element on a form. AFAIK, there is no way to
determine this from the Click (or DoubleClick) event. I currently have
my form set up to have a MouseButtons instance that gets updated by the
MouseDown event, then the Click event checks the instance to see if it
was right or left. This works fine, but seems a very roundabout and
clumsy way to do something simple.
Is there a better way to do this?
Thanks in advance,
Chris
button to click an element on a form. AFAIK, there is no way to
determine this from the Click (or DoubleClick) event. I currently have
my form set up to have a MouseButtons instance that gets updated by the
MouseDown event, then the Click event checks the instance to see if it
was right or left. This works fine, but seems a very roundabout and
clumsy way to do something simple.
Is there a better way to do this?
Thanks in advance,
Chris