Re: How determine the Source application of an OLE Drag & Drop?
- From: Al Koch <AlKoch@xxxxxxxxxxxxx>
- Date: Fri, 07 Apr 2006 10:43:01 -0700
On Fri, 7 Apr 2006 08:06:20 +0100, "James Brown [MVP]" <not@home> wrote:
In general this it is not possible. Drag+Drop is implemented on top of
COM/RPC and these protocols provide no method to obtain the source of an
operation. If you are trying to detect if it is one of *your* applications
at the source, then simply get it to supply a special clipboard-format (such
as a DWORD which holds the process-id) in the IDataObject so that the target
can check for the existance of this format and then query the
source-application this way.
James
Hi James,
Well, that's not what I wanted to hear but thanks for the answer!
Al Koch
AlKoch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.
- References:
- How determine the Source application of an OLE Drag & Drop?
- From: Al Koch
- Re: How determine the Source application of an OLE Drag & Drop?
- From: James Brown [MVP]
- How determine the Source application of an OLE Drag & Drop?
- Prev by Date: Re: Detours and Internet Explorer
- Next by Date: How to execute a process under another account - PROPERLY?
- Previous by thread: Re: How determine the Source application of an OLE Drag & Drop?
- Next by thread: HookWindows Events
- Index(es):
Relevant Pages
|
Loading