Re: Popup menu in custom view ...
Re: Popup menu in custom view ...
- Subject: Re: Popup menu in custom view ...
- From: Graham Cox <email@hidden>
- Date: Sat, 28 Mar 2009 12:04:56 +1100
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 (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