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

NSStatusItem with no menu triggers menu tracking (repost)


  • Subject: NSStatusItem with no menu triggers menu tracking (repost)
  • From: Philip George <email@hidden>
  • Date: Thu, 18 Jul 2002 07:55:19 -0500

I have an NSStatus item which does not have a menu assigned to it. In
it is a graphic. When the user clicks the graphic, it is setup to
process mouse events, which all works great...

The problem is that clicking on that NSStatusItem results in menu
tracking being enabled, so if the user moves their mouse over to the
system clock, its (the clock's) menu will pop open. The user has to
actually click something (anything) a second time for menu tracking to
be disabled again.

How can I prevent this behavior?

(Note :: Please do not confuse this with the 10.1 bug where background
apps become active when clicked.)

- Philip
_______________________________________________
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 (repost)
      • From: "Carlos A. Weber" <email@hidden>
  • Prev by Date: Re: [Seriously OT]Mac.com 60 days and counting
  • Next by Date: Re: [Seriously OT]Mac.com 60 days and counting
  • Previous by thread: RE: Saving the visible state of the window
  • Next by thread: Re: NSStatusItem with no menu triggers menu tracking (repost)
  • Index(es):
    • Date
    • Thread