Re: OS X : Different icon for Status Item

2013-12-22 Thread Simon Maurice
Hi Jerry, there are two methods which are used with NSStatusItem: - (void)setImage: - (void)setAlternateImage: They both do exactly what you think they would. The setImage method just sets the standard image and alternate image is when it's activated. They both take an NSImage See the referen

Re: OS X : Different icon for Status Item

2013-12-08 Thread Jerry Krinock
Thank you, all. I definitely over-thought and over-searched this one! Jerry ___ 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)list

Re: OS X : Different icon for Status Item

2013-12-07 Thread Seth Willits
On Dec 7, 2013, at 8:47 PM, Jerry Krinock wrote: > How can I make my app’s Status Item (“menulet", right side of menu bar) have > a different icon than its icon shown in the Dock and Finder? > > I cannot find any mention of this in “Status Item Programming Topics”, and > tests indicate that it

OS X : Different icon for Status Item

2013-12-07 Thread Jerry Krinock
How can I make my app’s Status Item (“menulet", right side of menu bar) have a different icon than its icon shown in the Dock and Finder? I cannot find any mention of this in “Status Item Programming Topics”, and tests indicate that it simply uses the same .icns resource indicated by CFBundleIc