• 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
Re: NSStatusItem when clicked shows custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStatusItem when clicked shows custom view


  • Subject: Re: NSStatusItem when clicked shows custom view
  • From: Chris Purcell <email@hidden>
  • Date: Fri, 06 Mar 2009 09:08:42 -0800

Thanks Clint and Ben,

MAAttachedWindow is exactly what I needed!

--Chris

On Mar 6, 2009, at 6:21 AM, Clint Shryock wrote:

Matt Gemmell has MAAttachedWindow, a sub class of NSWindow listed here:
http://mattgemmell.com/source


it comes with a sample project that shows it working with an NSStatusItem. See if that will suit your needs

+Clint


On Thu, Mar 5, 2009 at 1:03 PM, Chris Purcell <email@hidden> wrote:
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


_______________________________________________

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


References: 
 >NSStatusItem when clicked shows custom view (From: Chris Purcell <email@hidden>)
 >Re: NSStatusItem when clicked shows custom view (From: Clint Shryock <email@hidden>)

  • Prev by Date: Re: EXC_BAD_ACCESS in _class_changeInfo
  • Next by Date: Determine colorlist/-name after NSColorPanel
  • Previous by thread: Re: NSStatusItem when clicked shows custom view
  • Next by thread: [Q] NSObject's poseAsClass - Replacement?
  • Index(es):
    • Date
    • Thread