• 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
constraining drag location?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

constraining drag location?


  • Subject: constraining drag location?
  • From: m <email@hidden>
  • Date: Wed, 18 Feb 2004 20:37:54 -0800

I'm looking for a way to hook into Cocoa's drag and drop mechanism so that I can constrain the location of drag image (so I can constrain a drag vertically or horizontally, for example).

I had a look at the NSDraggingInfo protocol, and the draggingLocation method looked promising, but I can't figure out how to override it.

In the immediate case, I'm working with dragging to and from NSTableViews, but would of course prefer a general solution.

Any takers?

_murat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: constraining drag location?
      • From: Herr Witten <email@hidden>
  • Prev by Date: Re: red black trees
  • Next by Date: Re: red black trees
  • Previous by thread: Re: passing arg 2 of 'NSApplicationMain' from incompatible pointer
  • Next by thread: Re: constraining drag location?
  • Index(es):
    • Date
    • Thread