• 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
popUpStatusItemMenu - how to highlight the NSStatusItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

popUpStatusItemMenu - how to highlight the NSStatusItem


  • Subject: popUpStatusItemMenu - how to highlight the NSStatusItem
  • From: Martin Batholdy <email@hidden>
  • Date: Sat, 11 Jun 2011 00:33:26 +0200

Hi,

I have a NSStatusItem in the systemStatusBar.
Now I would like to have the possibility to show the menu of the StatusItem with a keyboard shortcut.

I can do this with the popUpStatusItemMenu-method of the NSStatusItem class.
However by using this method, the status item in the statusbar doesn't get highlighted (like when I click manually on it).

Is there a possibility to switch a statusItem to highlight-mode programmatically?



thanks!_______________________________________________

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

  • Prev by Date: Re: NSFileHandle and Data Integrity
  • Next by Date: setLineWidth: in NSBezierPath no effect in PDF Document?
  • Previous by thread: Re: NSFileHandle and Data Integrity
  • Next by thread: setLineWidth: in NSBezierPath no effect in PDF Document?
  • Index(es):
    • Date
    • Thread