• 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
Initiating drag and drop from NSToolbarItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initiating drag and drop from NSToolbarItem


  • Subject: Initiating drag and drop from NSToolbarItem
  • From: Gideon King <email@hidden>
  • Date: Wed, 23 Jun 2010 11:56:51 +1000

Hi, I have a toolbar item that I want to use for having an item that I drag onto my main view. I can initiate the drag from my custom view, but the window gets moved by the mouse down/dragged. I'm sure this will be trivial, but can't think of how to do this...I've overridden mouseDown: and mouseDragged: in my view, but the window still gets dragged.

How do I stop the window being dragged?


Thanks

Gideon


_______________________________________________

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: Initiating drag and drop from NSToolbarItem
      • From: Peter Ammon <email@hidden>
  • Prev by Date: Using Field Editor correctly in custom NSCell
  • Next by Date: Core Data can't do Distinct Relationships to Same Entity
  • Previous by thread: Re: Using Field Editor correctly in custom NSCell
  • Next by thread: Re: Initiating drag and drop from NSToolbarItem
  • Index(es):
    • Date
    • Thread