On Sun, Nov 1, 2009 at 7:31 PM, aaron smith <beingthexemplaryli...@gmail.com> wrote: > What's the best way to go about updating an NSMenu that's currently being > shown. For example, I have a button that triggers an NSMenu popup call and I > want to detect the option key press and update some of the items in the > menu.
For this specific case, use menu alternates. In general, NSEvent has the information you want in the form of a modifiers-changed event. --Kyle Sluder _______________________________________________ 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