• 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: Making menu bar application's window key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making menu bar application's window key


  • Subject: Re: Making menu bar application's window key
  • From: Daniel Jalkut <email@hidden>
  • Date: Sun, 06 Nov 2005 02:19:16 -0500

No problem. Your message is a good reminder for regular applications, so I'm glad it's stuck in the archive alongside my advice :)

I'm curious to know how Spotlight manages to take key focus without changing the frontmost application. When you hit cmd-Space, key focus changes to the spotlight search drop-down, but the front application does not change! If we could leverage the same trick it might be a slightly smoother user experience around the edges...

Daniel

On Nov 6, 2005, at 12:38 AM, John Stiles wrote:

Sorry, that's what I get for stepping into the middle of a conversation :) If you are a status item or other process that lacks a Dock icon, then you probably have no choice but to steal focus from the current app. There's no clean way to get key focus without being the frontmost process; by definition, to have key focus, you have to be the frontmost app :)

Anyway, if the user invoked your process specifically via a menu item or keypress, then there's nothing unfriendly about it.

_______________________________________________ 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
References: 
 >Making menu bar application's window key (From: Justin Williams <email@hidden>)
 >Re: Making menu bar application's window key (From: Daniel Jalkut <email@hidden>)
 >Re: Making menu bar application's window key (From: John Stiles <email@hidden>)
 >Re: Making menu bar application's window key (From: Daniel Jalkut <email@hidden>)
 >Re: Making menu bar application's window key (From: John Stiles <email@hidden>)

  • Prev by Date: Re: [Moderator] Re: Silly question. Is iTunes Cocoa application?
  • Next by Date: Re: Silly question. Is iTunes Cocoa application?
  • Previous by thread: Re: Making menu bar application's window key
  • Next by thread: Re: Making menu bar application's window key
  • Index(es):
    • Date
    • Thread