How determine the Source application of an OLE Drag & Drop?
- From: Al Koch <AlKoch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 06 Apr 2006 17:44:57 -0700
Hello,
My application serves as a Drop Target so that other applications can drop data onto it. I need to determine what application was
the Drop Source. It is my understanding that OLE D&D uses the clipboard for its operations. If that is correct it seems that
(unless there is a straightforward way to determine this) that it ought to be possible to determine the source by way of the
clipboard. (I can determine the app that places something on the Clipboard with ::GetClipboardOwner() followed by a bunch of
additional work.) But I don't see how to do this for D&D. Since the Drag Source can be one of many other apps I have no control
over what is put in the data that is drug. How can this be done?
Thank you,
Al Koch
AlKoch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: How determine the Source application of an OLE Drag & Drop?
- From: Alexander Nickolov
- Re: How determine the Source application of an OLE Drag & Drop?
- Prev by Date: Re: VFPOLEDB works on local copy of DB, but not always with networ
- Next by Date: detect whether in COM message filter; avoid RPC_E_CANTCALLOUT_INEXTERNALCALL
- Previous by thread: bullet proof
- Next by thread: Re: How determine the Source application of an OLE Drag & Drop?
- Index(es):
Relevant Pages
|
Loading