• 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: Updating NSMenu while it's open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating NSMenu while it's open


  • Subject: Re: Updating NSMenu while it's open
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 24 Apr 2012 19:58:09 -0700

On Apr 24, 2012, at 2:50 PM, Fritz Anderson <email@hidden> wrote:

> On 20 Apr 2012, at 1:32 PM, vinayak pai wrote:
>
>> Is there a way to update the menu while it's open
>> without any mouse movement like System WiFi menu?
>
> Others may have some magic for you (the list has only just come unstuck, and hasn't gotten beyond Friday as I write this), but you should be prepared for the possibility that like many Apple status items, what looks like a menu may be a custom view that imitates a menu.

Except that due to the way the Menu Manager works, you can't use view-based menu items to perfectly imitate standard menus, so this is probably not an option for your app. You could reimplement the entire thing as a window, but that wouldn't play nice with accessibility.

--Kyle Sluder
_______________________________________________

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

References: 
 >Updating NSMenu while it's open (From: vinayak pai <email@hidden>)
 >Re: Updating NSMenu while it's open (From: Ken Thomases <email@hidden>)
 >Re: Updating NSMenu while it's open (From: vinayak pai <email@hidden>)
 >Re: Updating NSMenu while it's open (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: NSComboBox
  • Next by Date: Re: NSComboBox
  • Previous by thread: Re: Updating NSMenu while it's open
  • Next by thread: Tabbing between text fields
  • Index(es):
    • Date
    • Thread