Re: NSStatusItem position problem
Re: NSStatusItem position problem
- Subject: Re: NSStatusItem position problem
- From: Uli Kusterer <email@hidden>
- Date: Mon, 26 Mar 2007 10:42:08 +0200
Am 26.03.2007 um 09:55 schrieb Orr Philip:
As far as setting the custom view back to what it was before, do
you mean back to an NSMenuView?
Yes, back to my menu item again.
I hope there's a better way, but what you could do is create two
status items, one with the menu and one with a view or whatever, and
then set the width of the one you don't need to 0, thus effectively
hiding it.
My first thought was to recreate the status item each time, but
since IIRC status items get appended to the menu bar, that would mean
that if someone else puts up a status item as well, your item would
change places.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden