Subject: Re: Popup menu in custom view ...




On 28/03/2009, at 11:46 AM, Mic Pringle wrote:

call [NSMenu
popupContextMenu...]


That should work, but watch the coordinates for its position - they need to be converted to screen (global) coordinates. If you pass in local ones chances are the menu is appearing off-screen.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

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/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx



Privacy