On Mon, Sep 17, 2012, at 02:12 PM, Tim Schröder wrote: > Use something like this: > > NSRect frame = [[statusItem valueForKey:@"window"] frame];
Don't do this. -[NSStatusItem window] is private API and is not guaranteed to exist. Create a view, assign it to your status item, and use that for your frame. --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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com