• 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: How to force NSMenu to redraw its menu items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to force NSMenu to redraw its menu items?


  • Subject: Re: How to force NSMenu to redraw its menu items?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 21 Jul 2010 08:33:53 -0700

On 2010 Jul 21, at 05:27, Nava Carmon wrote:

> I'm implementing a custom status bar menu ... How do I force them to redraw?

I'm not sure I quite understand your situation, but usually the answer is to implement the -menuNeedsUpdate:.  This method is invoked whenever the menu is about to be displayed, which should be sufficient.

_______________________________________________

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

  • Follow-Ups:
    • Re: How to force NSMenu to redraw its menu items?
      • From: Nava Carmon <email@hidden>
References: 
 >How to force NSMenu to redraw its menu items? (From: Nava Carmon <email@hidden>)

  • Prev by Date: Re: WebView pagination for printing
  • Next by Date: Re: Core Data conflict detection
  • Previous by thread: How to force NSMenu to redraw its menu items?
  • Next by thread: Re: How to force NSMenu to redraw its menu items?
  • Index(es):
    • Date
    • Thread