Use something like this: NSRect frame = [[statusItem valueForKey:@"window"] frame];
Tim Am 17.09.2012 um 22:55 schrieb Erik Stainsby <[email protected]>: > HI, > > I'm wondering if anyone can explain to me (or point me in the right > direction) as to how I can determine the current position of my stats bar > item at runtime. It seems that the status bar mechanisms are unpublished > except for the very basic use of popping an item into the collection and > hanging a menu from it. I'd like to know where on screen my item's image is > so that I can place a panel window adjacent to it. > > Advice? > > Erik Stainsby > [email protected] > > > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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/tim%40timschroeder.net > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
