Re: NSMenu/NSMenuItem & drag&drop
Re: NSMenu/NSMenuItem & drag&drop
- Subject: Re: NSMenu/NSMenuItem & drag&drop
- From: Eric Schlegel <email@hidden>
- Date: Thu, 11 Feb 2010 21:47:12 -0800
On Feb 11, 2010, at 12:29 AM, Adam Warski wrote:
> Hello,
>
> I've got a NSMenu with NSMenuItem-s and I would like to support drag&drop from the menu - so that the users are able to drag the menu items out. However I'm having problems attaching the even listener - can it be done? The NSMenuItem only supports an action: message.
I don't think that will be possible. The actual display of the menu is handled by the Carbon Menu Manager, and it doesn't support the kind of hooks you'd need.
-eric
_______________________________________________
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