On Jan 9, 2011, at 8:58 AM, Thomas Davie wrote: > I'd like in my app to be able to position an item by right clicking, and > selecting something from a contextual menu. I'm struggling with this though, > I don't see any way to find the position of the click that caused the > contextual menu to appear.
Check out NSView's menuForEvent: method. --Andy _______________________________________________ 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