• 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: Improving NSStatusItem awareness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improving NSStatusItem awareness


  • Subject: Re: Improving NSStatusItem awareness
  • From: Dan Bernstein <cocoa-dev%email@hidden>
  • Date: Wed, 7 May 2003 09:52:06 +0300

If your status item has a menu, then whenever it's clicked, it sends a menu item validation message for each item to that item's target.

-- Dan

On Wednesday, May 7, 2003, at 04:07 AM, Kent Sutherland wrote:

Is there a way for me to be able to subclass or change NSStatusItem in order for it to send messages whenever it is clicked on, similar to NSMenuExtra and it's -menu method? I've tried doing all kinds of thing with _button and _button's cell to no avail. I've also tried subclassing it and overriding lots of methods, but nothing seems to work.

Has anyone else gotten NSStatusItem to call a method when it's clicked on?

Kent Sutherland
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Improving NSStatusItem awareness
      • From: Jeffrey Mattox <email@hidden>
References: 
 >Improving NSStatusItem awareness (From: Kent Sutherland <email@hidden>)

  • Prev by Date: Re: dismissing an NSAlertPanel programmatically
  • Next by Date: Re: what's the topmost NSWindow level
  • Previous by thread: Re: How do I create and use a framework...
  • Next by thread: Re: Improving NSStatusItem awareness
  • Index(es):
    • Date
    • Thread