Elias,
Well, you have to have a definition of what is foreign. Once you have
that, you can implement the IMessageFilter interface and then in the
PreFilterMessage, act on windows messages that are foreign to your app.
You would then pass this implementation to the AddMessageFilter method
on the Application class.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Hello
>
[quoted text clipped - 6 lines]
> --
> Elias