Custom view attached to a menu bar NSStatusItem application
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