Forcing menu update in 10.4?
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