FROM : Nick Zitzmann
DATE : Thu Apr 21 15:10:02 2005
On Apr 21, 2005, at 12:23 AM, Nestor Cardozo wrote:
> Do I need to declare NSFilesPromisePboardType in my pasteboard? do
> I need to set the data or write the data to for the
> NSFilesPromisePboardType? as I did it for the NSPDFPasteboardType?
> If the latter is true, how do you do it?
You can't. NSFilePromisePboardType pasteboards depend on a private
class called NSFilePromiseDragSource, so the only supported way of
initiating a file-promise drag is to call the -
dragPromisedFilesOfTypes:... method. Check the list archives for more
information; there's been a lot of talk about file-promise drags in
the past: <http://www.cocoabuilder.com/>
Nick Zitzmann
<http://www.chronosnet.com/>
DATE : Thu Apr 21 15:10:02 2005
On Apr 21, 2005, at 12:23 AM, Nestor Cardozo wrote:
> Do I need to declare NSFilesPromisePboardType in my pasteboard? do
> I need to set the data or write the data to for the
> NSFilesPromisePboardType? as I did it for the NSPDFPasteboardType?
> If the latter is true, how do you do it?
You can't. NSFilePromisePboardType pasteboards depend on a private
class called NSFilePromiseDragSource, so the only supported way of
initiating a file-promise drag is to call the -
dragPromisedFilesOfTypes:... method. Check the list archives for more
information; there's been a lot of talk about file-promise drags in
the past: <http://www.cocoabuilder.com/>
Nick Zitzmann
<http://www.chronosnet.com/>
| Related mails | Author | Date |
|---|---|---|
| Nestor Cardozo | Apr 21, 08:23 | |
| Nick Zitzmann | Apr 21, 15:10 |






Cocoa mail archive

