Re: Creating Menu Bar Extras?
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