Re: NSImageView as a drag source - how?
Re: NSImageView as a drag source - how?
- Subject: Re: NSImageView as a drag source - how?
- From: David Remahl <email@hidden>
- Date: Fri, 07 Jun 2002 10:22:37 +0200
>
On Friday, June 7, 2002, at 01:02 AM, David Remahl wrote:
>
>
> The trick is to write the file out quickly, and by a name that has not
>
> been
>
> used during the same session.
>
>
Session as in "drag session", or...?
>
I'm finding mixed results with that -- I have used (for testing
>
purposes) the same temp filename throughout, and in some situations this
>
does work.
Actually, I meant Finder session....I have found that to be true, at least
if the drag destination is the same (even though the first dragged file has
been deleted).
>
> If the file is too large, so you cant write it out quickly enough, then
>
> you are in trouble...I know of no solution to that problem.
>
>
>
I can get it to work fairly reliably for 5MB+ images on a 500MHz iBook...
Hmm, that sounds a bit larger than what I have managed...
/ David
PS. Apple really has to implement some mechanism that allows applications to
rpomise a file write and get the dragging destination back from the finder.
This is a must for any FTP app, for example. DS.
>
mmalc
>
_______________________________________________
>
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.
_______________________________________________
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.