This may be a dumb question, but I cannot find a useful solution.

My view implements dragging of the objects it displays. The user should be able 
to constrain the coordinates of the drag to purely horizontal/vertical by 
holding down the shift key, i.e. the position of the image passed to 
dragImage:at:offset:event:pasteboard:source:slideBack should be constrained to 
a purely horizontal/vertical offset when the users holds the shift key down. I 
have checked out the NSDraggingDestination protocol but found nothing helpful.

Thanks for any advice in advance.

Kurt

_______________________________________________

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

Reply via email to