In C#
The WndPro method proccess all Windows messages for MY Application, but How can I make a method to process the messages for ALL the applications
Thanks
In C#
The WndPro method proccess all Windows messages for MY Application, but How can I make a method to process the messages for ALL the applications
Thanks
Process the messages for ALL the applications
Horea Soanca
vijeyan
Over-and-above-that, implementing a .NET component that hooks into another process/component that isn't expecting the CLR to be injected is fraught with problems.
sugrhigh
You can't with C# alone. You need a dll for a global hook(s).
There are a couple of examples on codeproject. Won't be a walk in the park tho.
The most reliable third party control I've seen for that undertaking is Desaware SpyWorks.
PiGuy
Thanks for your answers.
I'm just looking for a way to change the cursor when it is over other application (i.e. windows calculator).
I don't believe that C# can't do something that is possible in C/C++.