On Jan 28, 2010, at 5:52 AM, Michael Domino wrote: > 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
It sounds like you're trying to update the checked state during menu tracking. Don't do that. Instead, implement the UI validation protocol (-validateUserInterfaceItem:), and when asked to validate a particular action, set the 'selected' state of the menu item being validated. —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com