Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Adding modern drag flavors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding modern drag flavors



On Mar 21, 2007, at 14:41:24, Steve Mills wrote:

I found documentation for adding pdf flavors to the pasteboard (Working with PICT Data on the Clipboard) when researching for a way to replace our ancient code that adds a PICT to the scrap. We also use the same underlying routine for create a PICT to supply as an image format in a drag, should the user drag our objects to some other app that might want to accept an image. Would this same method work for adding pdf to the drag? if so, what is the flavor constant and what type of data should be added?

Nevermind, I found it. NewDragWithPasteboard doesn't have an entry in Xcode's documentation, but I eventually found an example that made reference to it, "Using the Pasteboard in Drag-And-Drop Operations" (who capitalized "And" and why haven't they been slapped?).


_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
email@hidden                       www.multi-ad.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Adding modern drag flavors (From: "Steve Mills" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.