FROM : Lorenzo
DATE : Sun Apr 10 20:46:58 2005
Hi list,
I would like to drag an object from my app to the Finder and create my own
file with my own fileName.
I can quite succeed when I declared the type NSTIFFPboardType in the
pasterboard, but when I declare my own type it doesn't work. I cannot get
any file in the Finder. How to do that?
myTypes = [NSArray arrayWithObjects:MyPboardType, nil];
[pboard declareTypes:myTypes owner:self];
[pboard setData:someData forType:MyPboardType];
Best Regards
--
Lorenzo
email: <email_removed>
DATE : Sun Apr 10 20:46:58 2005
Hi list,
I would like to drag an object from my app to the Finder and create my own
file with my own fileName.
I can quite succeed when I declared the type NSTIFFPboardType in the
pasterboard, but when I declare my own type it doesn't work. I cannot get
any file in the Finder. How to do that?
myTypes = [NSArray arrayWithObjects:MyPboardType, nil];
[pboard declareTypes:myTypes owner:self];
[pboard setData:someData forType:MyPboardType];
Best Regards
--
Lorenzo
email: <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Lorenzo | Apr 10, 20:46 | |
| Serge Meynard | Apr 11, 00:49 | |
| The Karl Adam | Apr 11, 03:59 | |
| Lorenzo | Apr 11, 14:29 | |
| Tim Hewett | Apr 11, 17:24 | |
| Lorenzo | Apr 11, 18:43 | |
| The Karl Adam | Apr 11, 19:24 | |
| Serge Meynard | Apr 11, 19:27 |






Cocoa mail archive

