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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to