Mailing Lists: Apple Mailing Lists

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

flavorDataPromised



Quoting from <Drag.h>:

flavorDataPromised = (1 << 9) /* flavor data is promised by sender*/

What is the semantics of this bit?

Is it set automatically by the Drag Manager (and if so,
in what versions of the OS?), or is the sender supposed
to set it voluntarily at drag creation time?

Put another way, is the following code a reliable means
of determining whether a given piece of data has been
promised but not actually provided yet?

bool wasPromised = (GetFlavorFlags(drag, dragItem, 'utxt',
&flavorFlags) == noErr)
&& (flavorFlags & flavorDataPromised);

TIA,


-- marco




--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



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.