• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSStatusItem when clicked shows custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSStatusItem when clicked shows custom view


  • Subject: NSStatusItem when clicked shows custom view
  • From: Chris Purcell <email@hidden>
  • Date: Thu, 05 Mar 2009 11:03:29 -0800

I'm looking to do something similar to this app: http://transmissionapps.com/ (Logbook). I've seen that done in a handful of apps, a custom window/view invoked when the NSStatusItem is clicked. My two quesitons:

1) How is that window created. Is it a custom NSWindow or a regular NSWindow with a custom view?

2) How can I position the window so that it is directly below the NSStatusItem?

Or am I going about this the wrong way.

Thanks!

--Chris
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSStatusItem when clicked shows custom view
      • From: Clint Shryock <email@hidden>
  • Prev by Date: Re: NSString leak or RedHerring again?
  • Next by Date: Re: User In-Activity hook? And a request
  • Previous by thread: Re: NSString leak or RedHerring again?
  • Next by thread: Re: NSStatusItem when clicked shows custom view
  • Index(es):
    • Date
    • Thread