On Sun, May 24, 2009 at 3:23 AM, Mangesh Kute <kutemang...@gmail.com> wrote: > 1. Is there any way to alert user via NSStatusIcon e.g. blinking > status icon or changing image etc. ?
1. Blinking is annoying; don't do it. Changing the image is useful. 2. There's no class called NSStatusIcon. There is, however, NSStatusItem. 3. If you look at the NSStatusItem docs you'll see the documentation for -setImage:, which I assume you had to know was there otherwise you wouldn't be able to set an image on it in the first place. > 2. Is there any way to show popup message ? There are plenty of ways to show messages. Creating an alert panel is usually sufficient. Do not attach popup windows to your status icon to announce that the user has connected a device, or has plugged in headphones... they can, however, be useful for things like incoming Twitter messages, IMs, E-mail subject lines, etc. For that, you can also just create a borderless NSWindow, but the third-party Growl framework will do this nicely. In short, don't make my status icons look like the disgustingly overanimated Windows system tray. --Kyle Sluder _______________________________________________ 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