• 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: Using a NSStatusBar in a Preferences pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a NSStatusBar in a Preferences pane


  • Subject: Re: Using a NSStatusBar in a Preferences pane
  • From: Finlay Dobbie <email@hidden>
  • Date: Mon, 4 Feb 2002 18:20:28 +0000

On Monday, February 4, 2002, at 04:18 PM, Taxxodium wrote:

I'm making a preferences pane that uses an NSStatusBar. It works fine except
that when I quit the system preferences application my NSStatusBar doesn't
get displayed anymore. Is there a solution for this problem?

NSStatusItems (the NSStatusBar is displayed by the system) must be published by a running application. If you create one from a preference pane, it is being handled by the System Preferences application, of course, and will obviously be removed when the application quits.

You can get around this by writing a background application (be careful to read QA1081 at http://developer.apple.com/qa/qa2001/qa1081.html).

-- Finlay


References: 
 >Using a NSStatusBar in a Preferences pane (From: Taxxodium <email@hidden>)

  • Prev by Date: Re: NSTableColumn.identifier()
  • Next by Date: Re: [OT] [RANT]NSEnumerator
  • Previous by thread: Using a NSStatusBar in a Preferences pane
  • Next by thread: NSTableColumn.identifier()
  • Index(es):
    • Date
    • Thread