Re: NSStatusItem having action and menu
Re: NSStatusItem having action and menu
- Subject: Re: NSStatusItem having action and menu
- From: daniel <email@hidden>
- Date: Fri, 18 Mar 2005 12:05:34 -0800
Your best bet is to create a custom view that handles the mouse click
by bringing your app to the front and then displaying a menu.
Daniel
On Mar 18, 2005, at 3:32 AM, Rakka wrote:
Is there a way to allow an NSStatusItem to have both an action
(setAction:) and a menu (setMenu:)?
I want to have my background app to come to the foreground when the
statusitem is clicked.
Thanks in advance,
Rakka
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden