• 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
Custom view attached to a menu bar NSStatusItem application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom view attached to a menu bar NSStatusItem application


  • Subject: Custom view attached to a menu bar NSStatusItem application
  • From: John Ku <email@hidden>
  • Date: Fri, 29 May 2009 00:46:51 -0700

How do I proceed in creating a custom view/window that is attached and act
like an NSMenu for a NSStatusItem.So when the menu bar icon is clicked, this
custom view/window will appear right underneath the NSStatusItem.

So far im thinking to start with a custom NSWindow and an NSView inside
that. Then I'll bring front, make key that custom NSWindow with local
coordinates within NSStatusItem. Does this work?  Or is drawing inside
NSStatusItem will only be limited in the height of the menu bar?

Any alternatives? What direction should I look into? Much Appreciated!

John
_______________________________________________

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: Custom view attached to a menu bar NSStatusItem application
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: sending continues NSImage data to iPhone
  • Next by Date: Re: Custom view attached to a menu bar NSStatusItem application
  • Previous by thread: Re: Performance, Efficiency - Coding practice
  • Next by thread: Re: Custom view attached to a menu bar NSStatusItem application
  • Index(es):
    • Date
    • Thread