Search code examples
c#windows-messages

How can I listen to mouse events of other processes


Is it possible in C# to listen to mouse related windows messages sent to other windows in other processes?


Solution

  • There is a open source project in codeplex for that
    Application and Global Mouse and Keyboard Hooks .Net Libary in C#
    If you want to do this yourself do some extra search on Windows Hooks
    This article shows how