• 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
Re: Spotlight-Style search menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight-Style search menu


  • Subject: Re: Spotlight-Style search menu
  • From: Chaitanya Pandit <email@hidden>
  • Date: Wed, 2 Jun 2010 22:34:24 +0530

>
> This is the solution I've decided on as well. It's actually a button on a window that I want to trigger the search field to pop down, and I still want it to behave like a menu, i.e. clicking anywhere else on the screen dismisses the "menu", and the button get's the pushed in look. What's the best way to achieve this behavior? _______________________________________________
>

Well, you can have the custom view in the status bar to be a NSButton, it's action will compute the location and make the window key and visible at that location and when the window resigns key, just fade it away

> 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

_______________________________________________

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

  • Follow-Ups:
    • Re: Spotlight-Style search menu (SOLVED)
      • From: John Johnson <email@hidden>
References: 
 >Spotlight-Style search menu (From: John Johnson <email@hidden>)
 >Re: Spotlight-Style search menu (From: Kyle Sluder <email@hidden>)
 >Re: Spotlight-Style search menu (From: John Johnson <email@hidden>)

  • Prev by Date: Re: ANN: Syntax highlighting editor view
  • Next by Date: Re: Spotlight-Style search menu (SOLVED)
  • Previous by thread: Re: Spotlight-Style search menu
  • Next by thread: Re: Spotlight-Style search menu (SOLVED)
  • Index(es):
    • Date
    • Thread