Re: Promised file drag/drop catch 22?
Re: Promised file drag/drop catch 22?
- Subject: Re: Promised file drag/drop catch 22?
- From: Allan Odgaard <email@hidden>
- Date: Sun, 2 May 2004 13:35:12 +0200
On 2. May 2004, at 11:08, Tim Hewett wrote:
Thanks for the suggestion, it wasn't one spotted as a possibility to
this point. There is a problem though [...]
I see... but is sender also the proxy when dragging happens from
Finder? cause here it should be nil. Although not very "encapsulated",
an alternatively is to set a boolean (accessible from the potential
destination) to true before calling dragPromisedFilesOfTypes:...
[...] So far the only information which appears to be
available to the dragging source once the promised drag has been
dropped is the URL returned by the dragging destination, the point
at which the drag is dropped (which *could* be used too determine
if the drop occurred in any of your app's windows, though this seems
to involve quite a messy conversion of coordinate systems),
Why with the coordinate system? I guess the destination could provide
an URL like file:///tmp/my_appname_<unique_id>/ which would indicate
it...
Btw: what special handling needs to happen when the drag is local?
--
et al: used as an abbreviation when referring to a number of people, for
example: "It has been improved by Knuth et al." [syn: and others, et
alii]
etc: continuing in the same way [syn: and so forth, and so on, et
cetera].
_______________________________________________
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.