• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building a Spotlight-like custom NSMenu with an embedded NSSearchField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a Spotlight-like custom NSMenu with an embedded NSSearchField


  • Subject: Building a Spotlight-like custom NSMenu with an embedded NSSearchField
  • From: augusto callejas <email@hidden>
  • Date: Wed, 7 Jul 2010 10:20:59 -0700

hi-

i've built the beginning of my own custom NSMenu with an embedded NSSearchField.
i was wondering if the following behavior is possible:

in spotlight, when you enter a search term, you start getting results and the first term
is highlighted:

http://www.genielogic.com/page7/files/spotlightmenu-deathgrip.jpg

you can then use the arrow keys to navigate the results.

is it possible to do this when you have an embedded NSSearchField inside an NSMenuItem,
which has focus, but still have another NSMenuItem below it with focus and also be able to navigate
the rest of the NSMenu with arrow keys?  i'm not sure if this is possible because then focus would
be lost from the NSSearchField.

thanks,
augusto._______________________________________________

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

  • Prev by Date: Re: NSButtonCell visibility in NSOutlineView.
  • Next by Date: iPad: CGPDF... methods and leak/cache
  • Previous by thread: Re: NSButtonCell visibility in NSOutlineView.
  • Next by thread: iPad: CGPDF... methods and leak/cache
  • Index(es):
    • Date
    • Thread