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 (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

Reply via email to