Message 1 of 3
Which mouse button has been pressed

Not applicable
12-07-2002
03:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
When running a VBA routine & the drawing area is active, is there a way to
determine which mouse button has been pressed?
Basically I want to Ask a question with the left button = Yes & the right
one = No without using a dialogue box.
Previously I achieved that by using the getpoint command & test to see if a
point is returned.
I now need a 3rd option & want to test for the middle button.
your help would be much appreciated.
Thanks in advance
Dave
When running a VBA routine & the drawing area is active, is there a way to
determine which mouse button has been pressed?
Basically I want to Ask a question with the left button = Yes & the right
one = No without using a dialogue box.
Previously I achieved that by using the getpoint command & test to see if a
point is returned.
I now need a 3rd option & want to test for the middle button.
your help would be much appreciated.
Thanks in advance
Dave