• 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 with no menu triggers menu tracking (repost)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSStatusItem with no menu triggers menu tracking (repost)


  • Subject: Re: NSStatusItem with no menu triggers menu tracking (repost)
  • From: Kyle Moffett <email@hidden>
  • Date: Thu, 18 Jul 2002 22:57:03 -0400

On Thursday, July 18, 2002, at 09:25 PM, Philip George wrote:
How can I combat this behavior now, without having to wait on Apple to
fix a bug, which they may not even consider to be a bug?

The bottom line (rephrased for clarity): I do not want menu tracking
enabled (or at least I want it immediately disabled again) when users
click on my statusitem.

What are some possible solutions/workarounds?

If menu tracking is enabled/disabled by reception of a notification, then:

Two possible solutions, depending on what order things happen in.

If the menu tracking notification goes out before you find out your status item was clicked:
Send out a notification or whatever to disable menu-tracking on click.

If the menu tracking notification goes out after you find out your status item was clicked,
keep a BOOL indicating the status of click (myBool = numclicks%2). If you get a menu
tracking notification and myBool is YES, send out another one to cancel it.

If I'm way of base here please forgive me,
Thanks, Kyle Moffett
_______________________________________________
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: NSStatusItem with no menu triggers menu tracking
      • From: Philip George <email@hidden>
References: 
 >Re: NSStatusItem with no menu triggers menu tracking (repost) (From: Philip George <email@hidden>)

  • Prev by Date: Re: Problems with netinfo/ni.h
  • Next by Date: Re: NSStatusItem with no menu triggers menu tracking
  • Previous by thread: Re: NSStatusItem with no menu triggers menu tracking (repost)
  • Next by thread: Re: NSStatusItem with no menu triggers menu tracking
  • Index(es):
    • Date
    • Thread