NSStatusItem cleanup
NSStatusItem cleanup
- Subject: NSStatusItem cleanup
- From: Philip George <email@hidden>
- Date: Sat, 4 Jun 2005 13:30:24 -0500
When an NSStatusItem quits or is otherwise removed from the menu bar,
other NSStatusItems that were sitting to its left, do not scoot over,
leaving a big hole where the removed status item once sat.
What can I do to play nicely and clean up after myself, so that the
remaining NSStatusItems will scoot to the right after I remove myself
from the menu bar?
I've noticed that switching apps -- and thus switching menu bars --
causes all the remaining NSStatusItems to scoot to the right, filling
the hole.
How can I trigger that same behavior as I quit my app?
Note that my app does not have a visible menu in the menu bar. It runs
as LSBackgroundOnly .
- Philip
_______________________________________________
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