Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[4]: drag promised files to Finder



Hello Bryan,

Tuesday, June 26, 2007, 8:07:44 PM, you wrote:
BP> And you're calling it from your 'fssP' promise keeper, right?

Yes.
Do you have any tool/debugging trick to suggest in order to observe what's
really exchanged between applications through pasteboard manager?

BP> Are you dragging to Finder or another app?

To Finder.

In Pasteboard Manager Programming Guide, it says we must pass
kPasteboardPromisedData (= NULL) for the data parameter to
PasteboardPutItemFlavor() if I want to promise data when adding a flavor.
I'm passing kPasteboardPromisedData in my 2nd call to PasteboardPutItemFlavor()
(the one for kDragPromisedFlavor), but not for the 1st call (the one for
kDragFlavorTypePromiseHFS), as I need to pass the PromiseHFSFlavor structure!

In order to verify my kDragFlavorTypePromiseHFS was properly handled, I tried
using kPasteboardPromisedData in place of the PromiseHFSFlavor structure in
order to send the PromiseHFSFlavor structure later (so as a promise), but the
promise keeper doesn't receive any request at all for
kDragFlavorTypePromiseHFS, so it seems it is totally ignored...

Do I need to send kDragFlavorTypePromiseHFS as a promise
(kPasteboardPromisedData), or not?

--
Eric Landuyt, Developer - mailto:email@hidden
DataRescue sa/nv, Home of the IDA Pro Disassembler - http://www.datarescue.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >drag promised files to Finder (From: Eric Landuyt <email@hidden>)
 >Re: drag promised files to Finder (From: Bryan Prusha <email@hidden>)
 >Re[2]: drag promised files to Finder (From: Eric Landuyt <email@hidden>)
 >Re: Re[2]: drag promised files to Finder (From: Bryan Prusha <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.