On Mon, May 23, 2011 at 11:10 AM, Kyle Sluder <kyle.slu...@gmail.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com