• 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
Custom NSMenu on NSSearchField question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSMenu on NSSearchField question


  • Subject: Custom NSMenu on NSSearchField question
  • From: themacuser <email@hidden>
  • Date: Sun, 12 Feb 2006 21:04:33 +1030

I'm developing some code for KisMac (kismac.de) to improve the search engine. I added a "search type" NSPopUpButton next to the NSSearchField. The NSPopUpButton specifies search type (i.e. SSID, BSSID, Vendor or encryption). Someone suggested I use a custom NSMenu for the NSPopUpButton and put the contents of the NSSearchField in that.

I adjusted the template for the NSSearchField and I get this: http:// img151.imageshack.us/img151/1319/picture93mf.png

I have looked through the code for anything that I missed referring to this (searched for _searchField). However, the four items are greyed out. I can't see any code doing this. Do I need to enable them? And how do I find the option selected? The same way I got it from the past menu?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: NSString and char *
  • Next by Date: Re: NSString and char *
  • Previous by thread: newbie auto-pagination question
  • Next by thread: are the doc NSLock examples bogus?
  • Index(es):
    • Date
    • Thread