I.S.,

Surprisingly, yes. I referred to the documentation BEFORE asking here. That was the only method that seemed like it would work, but it doesn't. So, hopefully this can be done. I also tried changing the title to the one action I want and setting the action but that didn't work. So I'm stuck here. And that was the ONLY method I have tried.

Jeremy

"For a long time it puzzled me how something so expensive, so leading edge, could be so useless, and then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match." - Bill Bryson


On Feb 25, 2008, at 4:26 PM, I. Savant wrote:

How can I switch menus for an NSStatusItem programatically? So if the
user chooses to "quit" the application from the NSStatusItem I can
switch it's menu to be another menu with launch options.

 I admit I've never created a status item before, but have you tried
the -setMenu: method referenced in the documentation?

--
I.S.

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to