About the Primary Button problems in Cocoa Mouse Event Handling
About the Primary Button problems in Cocoa Mouse Event Handling
- Subject: About the Primary Button problems in Cocoa Mouse Event Handling
- From: "Celery01 Lin" <email@hidden>
- Date: Wed, 2 Apr 2008 17:45:42 -0700
HI , all!
I have a question about how can we detect the primary button .
Cocoa Mouse Event handling gives us NSEvent . Though type of the
NSEvent ,we can know which mouse button is down, up or dragged ,and
then We can do something according to Leftmouse down or rightmouse
down . But if the user change the primary mouse button in the User
Preference . Dose that mean all our logic is reversed?
or Dose cocoa assume that Leftmouse is primary mouse and bind the
Leftmouse to primary mouse?
How can we determine which mouse button is primary mouse button in Cocoa?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden