Re: Reason for menuNeedsUpdate notification?
Re: Reason for menuNeedsUpdate notification?
- Subject: Re: Reason for menuNeedsUpdate notification?
- From: David Reitter <email@hidden>
- Date: Fri, 23 Apr 2010 18:23:08 -0400
On Apr 23, 2010, at 11:47 AM, Paul Sanders wrote:
> NSMenuDidBeginTrackingNotification might do what you want. Note that, despite what the docs say, this is not sent on Tiger.
This notification does not give me the actual menu, but I am now using it in combination with menuNeedsUpdate: the notification is sent before the menuNeedsUpdate message.
This seems to work fine and should be compatible with 10.5; it depends on the order of events, so using [NSMenu propertiesToUpdate] as per Eric's suggestion from 10.6 on should do the trick.
Both of you, thank you for your quick help._______________________________________________
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