| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I RTFM'd and checked the archives, and didn't find anything, so...
In one application I'm trying to make an NSMenu that is hidden from the user, so it doesn't get drawn on the screen, but it does respond to keyboard commands like Command-whatever.
How do I do this? I can't find any way in the reference or in IB to make an NSMenu hidden. I already tried placing a pull-down menu inside a window and hiding it behind a custom view, but it would only show up anyway as a half-transparent menu. I think iTunes does something like this; can this only be done in Carbon?
If it's not possible to hide an NSMenu, is it possible to make it so that an action is triggered by a keystroke that is _not_ (a) assigned to a menu item, (b) assigned to a toolbar item (which I understand doesn't work anyway), (c) detected in an NSView's -performKeyEquivalent: method, or (d) dependent on private APIs?
| References: | |
| >Hiding an NSMenu, or making keyboard shortcuts not tied to a menu item? (From: Nick Zitzmann <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.