Hi all,

I am trying to drag image files from my application to other applications like Mail,iPhoto,TextEdit etc. I am using NSFilesPromisePboardType to do this.

This is the code snippet:

[inPasteboard declareTypes : [NSArray arrayWithObjects:NSFilesPromisePboardType, nil] owner:self]; [inPasteboard setPropertyList:fileTypes forType:NSFilesPromisePboardType];

I implemented the following method in my dragSource(IkBrowserview)

- (NSArray *)namesOfPromisedFilesDroppedAtDestination:(NSURL *) dropDestination
{
        // here I am creating actual image file
}

This works fine for applications like Mail,iPhoto.
But , when I try to drag files to applications like TextEdit,Thunderbird this method never gets called.

Does this mean that applications like TextEdit and Thunderbird do not support
NSFilesPromisePboadType ?
If yes, Is there any workaround for this issue?

Regards,
Srinivas.


-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an 
intended recipient, please notify the sender and delete all copies. Emails to 
and from our network may be logged and monitored. This email and its 
attachments are scanned for virus by our scanners and are believed to be safe. 
However, no warranty is given that this email is free of malicious content or 
virus.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to