• 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: Creating Menu Bar Extras?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Menu Bar Extras?


  • Subject: Re: Creating Menu Bar Extras?
  • From: Kevin Ballard <email@hidden>
  • Date: Sat, 9 Apr 2005 04:02:18 -0400

On Apr 9, 2005, at 3:23 AM, Dave Rehring wrote:

Note, apps that use NSStatusBar SUCK!!!!! For example, they don't support
cmd-dragging items to reorder and/or remove items from the menu bar.

Yeah, it's annoying that you can't reorder, but for removing, there's a reason you can't remove it - because the application wants it there. You can remove a regular menu extra because it's self- contained, but if you could just remove application NSStatusItems freely then that could cause a problem - what if you have a background app that only shows up as an NSStatusItem and you remove it? Now you have a background app with no means of shutting it down (aside from using Activity Monitor or going into the Terminal) that has no UI.


As well, note that Apple doesn't use this API...

Yes they do - Interface Builder uses it when testing an interface. I can't think of when else Apple *should* be using it, though - they use menu extras because these are self-contained units of code. I can't think of one Apple app that should be using NSStatusItem that doesn't.


It's annoying that Apple saves the 'good' API for themselves, and then when
other people reverse-engineer it, they explicitly went out of their way to
prevent non-Apple items from working [but searching the net you can find out
how to create a real menu bar extra].

Yeah, that is annoying. I don't know why they're preventing third- party developers from making their own menu extras.


--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Creating Menu Bar Extras?
      • From: daniel <email@hidden>
    • Re: Creating Menu Bar Extras?
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: Creating Menu Bar Extras? (From: Dave Rehring <email@hidden>)

  • Prev by Date: Runtime error with ABPeoplePickerView
  • Next by Date: Re: Put pdf on pasteboard / NSData from NSImage?
  • Previous by thread: Re: Creating Menu Bar Extras?
  • Next by thread: Re: Creating Menu Bar Extras?
  • Index(es):
    • Date
    • Thread