• 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: cocoa dragging and constraining coordinates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa dragging and constraining coordinates


  • Subject: Re: cocoa dragging and constraining coordinates
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 23 May 2011 11:15:01 -0700

On Mon, May 23, 2011 at 11:10 AM, Kyle Sluder <email@hidden> wrote:
> If you want to drag into other applications, you really can't
> constrict the drag direction. It doesn't make sense.

Hmm, maybe I'm not clear on what you want to do. Are trying to enable
drag-to-another-app, but also drag within a canvas, and it's only
within the canvas that you want to enable the
shift-to-constrain-direction behavior?

While most apps don't behave this way, if you wanted to do that you
could do it in your dragging *destination*.

But the big question is how to you discern between a within-app drag
that extends beyond the visible bounds of your window, versus an
attempt to drag outside the app? There really isn't any API for
telling the drag manager to start or stop allowing inter-application
drags while in the middle of a drag operation.

--Kyle Sluder
_______________________________________________

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: cocoa dragging and constraining coordinates
      • From: Kurt Sutter <email@hidden>
    • Re: cocoa dragging and constraining coordinates
      • From: Seth Willits <email@hidden>
References: 
 >cocoa dragging and constraining coordinates (From: Kurt Sutter <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kyle Sluder <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kurt Sutter <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: cocoa dragging and constraining coordinates
  • Next by Date: How to use PDFAnnotationStamp?
  • Previous by thread: Re: cocoa dragging and constraining coordinates
  • Next by thread: Re: cocoa dragging and constraining coordinates
  • Index(es):
    • Date
    • Thread