My OS X app programmatically creates a menu which is displayed in its (1) Dock Menu (2) Status Item (3) a menu which use can pop up anywhere via a global keyboard shortcut, which invokes -[NSMenu popUpMenuPositioningItem:atLocation:inView:]
I would like to add a search field at the top of this menu, like the search field in the Help menu of any Cocoa app. At least in instance (3). In Apple's document "Application Menu and Pop-up List Programming Topics" [1], it is stated that "A view in a menu item can receive all mouse events as normal, but keyboard events are not supported." But a search field certainly supports keyboard events! So how might Apple be doing that? Thanks, Jerry Krinock _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
