• 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
Forcing menu update in 10.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing menu update in 10.4?


  • Subject: Forcing menu update in 10.4?
  • From: Michael Domino <email@hidden>
  • Date: Thu, 28 Jan 2010 08:52:20 -0500
  • Thread-topic: Forcing menu update in 10.4?

Hi,

I have a hierarchical menu that places checkmarks next to sub-menu items
when the user selects an item. If either of the sub-menu items are checked,
I would like the top-level item to be checked. This works, but the top-level
item does not update until the mouse rolls over any of the top level items
to force an update, so you don¹t see the change in state in the top-level
items as soon as the menu appears after one of the sub-menu states has been
changed.

In 10.5, you can get the view of an NSMenuItem, and then call display to
force an update, but I have not found a way in 10.4. Am I just out of luck?

--
Michael Domino
email@hidden
Phone: 617-816-5851
Identity Finder, LLC
250 West 57th St; Suite 1400
New York, NY 10107
http://www.identityfinder.com


_______________________________________________

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: Forcing menu update in 10.4?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSKeyValueBindingCreation Leak
  • Next by Date: Displaying animated content in iPhone app
  • Previous by thread: Re: NSKeyValueBindingCreation Leak
  • Next by thread: Re: Forcing menu update in 10.4?
  • Index(es):
    • Date
    • Thread