How to capture left & right mouse down?
How to capture left & right mouse down?
- Subject: How to capture left & right mouse down?
- From: David Thorup <email@hidden>
- Date: Tue, 18 Mar 2003 00:35:12 -0700
I'll admit that I haven't investigated this too much, so be kind if
this is an easy question...
I'd like to be able to capture an event when a user presses both mouse
buttons (left & right) at the same time. This is of course assuming
that the user has a two button mouse, in cases that they don't have a
two button mouse I'd use some <key>-left-mouse-down combination.
At first glance I didn't see any methods that would handle this and I
tried getting the 'modifierFlags' in mouseDown to check for
NSRightMouseDown, but that didn't work. What do I need to do to see if
both mouse buttons are down?
Thanks for the help!
____________________________________
Dave Thorup
Software Engineer
email@hidden
www.corda.com
Interactive data driven graphics.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.