On Jan 21, 2009, at 10:34 AM, Chunk 1978 wrote:

what is the proper way to update the menu bar after switching the view
of the app's menu bar extension?  force quit the SystemUIServer?  or
actually just quit the SystemUIServer?  or is there a more common
method to updating the menu bar?

I think what you are asking is, you have an NSStatusItem and you call setView: on it. In this case, the status item should redraw automatically with the new view. You should not need to interact with SystemUIServer.

-Peter

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to