Was that a left or a right Click??


2004-06-25 03:14:21 PM
cppbuilder14
Has anyone got any suggestions as to how
I can tell if the user has clicked
with the left or the right mouse button
when clicking on a menu item on
a popup-menu?
I have doubledclicked then menu and invoked
the corresponding OnClick function. So I know there
was a click, but was it the left or the right button?
It seems that, by default, the Mousemessage is stopped
by the above function og not sent on to the
FormMouseDown / FormMouseUp functions, where I am
able to catch whether it is a left or right click
...
Shift.Contains( ssLeft );
....
I am grateful the time you set aside to help me.
Mike