On Sat, 27 Sep 2003 20:53:13 -0500, "Alvin Bruney"
<vapordan_spam_me_not@hotmail_no_spamhotmail.com > wrote:
you can try trapping for the contextmenu event. what are you trying to do?
you don't normally trap for a contextmenu over a button, much less a toolbar
button.
What it is - I have a print button, which works fine, and prints out 1 copy, if
I want to print more than 1 copy, then I have to click it more than once.
I don't want to have the system print dialog come up, so I thought, if a user
wants to print more than 1 copy, I could implement a right-click on the
button, then a small dialog would come up and they could enter a value via a
spinner or text box.
Is it possible to tell which button has been clicked, when using the right
mouse button (using the mousedown event).
I can tell which button using the 'ToolBar_ButtonClick' but I want to tell
whether it was a left or right mouse button click.
I've searched Google, but surprisingly there isn't anything on there, so
any help received with thanks.