Cocoa drag and drop is screwy
Cocoa drag and drop is screwy
- Subject: Cocoa drag and drop is screwy
- From: Steve Gehrman <email@hidden>
- Date: Mon, 2 May 2005 02:51:47 -0700
I need to know if the modifier keys are down during a drag and drop.
I'm calling this:
- (NSDragOperation)draggingSourceOperationMask;
It worked pre-Tiger, but now mail and a few other apps are sending me
the wrong flags.
I need to know if the cmd and option keys are down, so I'm testing if
the NSDragOperationGeneric and NSDragOperationCopy flags are set. If
they are, I create an alias rather than copying the file. The Finder
sends the correct flags, but not Mail.app
Anyone on the mail team want to respond? Why are these flags set
this way?
-steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden