| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
But I realize that there's a whole lot of people out there who have single button mice and use the Control key to get contextual menus, and so I'd like to get my solution working with Control-clicking as well as the right mouse button. My problem is I can't figure out which NSView/NSResponder method gets called when a user Control-clicks the view. I already tried -mouseDown: and it mysteriously isn't called at all. It's obviously not -rightMouseDown: either.
Have you tried overriding NSView's
- (NSMenu *)menuForEvent:(NSEvent *)theEvent
| References: | |
| >Re: Contextual menus, views, and the Control key (From: Dix Lorenz <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.