• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMenu/NSMenuItem & drag&drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSMenu/NSMenuItem & drag&drop
      • From: Adam Warski <email@hidden>
References: 
 >NSMenu/NSMenuItem & drag&drop (From: Adam Warski <email@hidden>)

  • Prev by Date: Re: Replacing model objects using an NSArrayController
  • Next by Date: Re: What classes have -init?
  • Previous by thread: NSMenu/NSMenuItem & drag&drop
  • Next by thread: Re: NSMenu/NSMenuItem & drag&drop
  • Index(es):
    • Date
    • Thread