Re: Capturing key events in a menu
Re: Capturing key events in a menu
- Subject: Re: Capturing key events in a menu
- From: Adam Warski <email@hidden>
- Date: Tue, 19 May 2009 08:19:04 +0200
Hello,
When a menu is open the Menu Manager in HIToolbox handles incoming
events on its own. You be able to capture the events with an embedded
NSView, but I first need to ask the standard question: waht are you
trying to achieve?
Well, I want to know what the user typed when a menu is open, so that
I can narrow the items displayed.
How can I embed an NSView? I know I can do that for an NSMenuItem, but
then the menu item must have focus for the view to receive the events,
is it not so?
--
Thanks,
Adam Warski
_______________________________________________
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