Re: Dragging promised files and other types in the same drag
Re: Dragging promised files and other types in the same drag
- Subject: Re: Dragging promised files and other types in the same drag
- From: Matthew Formica <email@hidden>
- Date: Tue, 06 May 2003 13:36:51 -0700
I believe that dragPromisedFilesOfTypes:fromRect:source:slideBack:event:
calls down to dragImage:at:offset:event:pasteboard:source:slideBack:
eventually. So just override dragImage and add the additional types to the
pasteboard that you need.
- Matthew
On 5/6/03 10:36 AM, "James Eitzmann" <email@hidden> wrote:
>
I need to be able to drag and drop within my own
>
application and to other apps like the finder. Using
>
the NSFilesPromisePboardType in the NSPasteboard
>
declareTypes:: method, the finder does not accept the
>
drop. If I use the
>
dragPromisedFilesOfTypes:fromRect:source:slideBack:event:
>
method on NSView, it works just fine. The problem is
>
that I also need to support other flavors of dragging
>
within the application for the same drag operation
>
(i.e., a drag within the application is an application
>
defined flavor, a drag to the finder is a promised
>
file type flavor). Does anyone have suggestions for
>
workarounds or fixes?
>
>
__________________________________
>
Do you Yahoo!?
>
The New Yahoo! Search - Faster. Easier. Bingo.
>
http://search.yahoo.com
>
_______________________________________________
>
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.