Jan,

Absolutely, one way I have achieved this in the past is using the
System.Diagnostics.Process class, there are methods to retrieve the
current process (Example: use the Process.MainWindowHandle property
instead of PInvoking/retrieving the HWND from FindWindow()).  Based on a
valid handle you would still use SendMessage() to flow the CopyDatatStruct
the target application's message handler.

~Keith


On Tue, 30 Apr 2002 08:04:35 -0700, Jan Dropczynski <j.dropczynski@THONA-
CONSULTING.COM> wrote:

>Hi Keith,
>many thanks for your help! I will try your test code and also hope this
>helps! ;)
>But a question I still have: Works the CopyData message between two
>processes? I ask because my forms running in different applications.
>
>Thanks again and Regards,
>Jan
>
>You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to