w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
C#: Is it possible to monitor button clicks from an external Windows application?

Usually this is done by installing a Windows hook. The API is SetWindowsHookEx (see http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990(v=vs.85).aspx). It's a really advanced task. The monitoring code can be implemented using .NET Framework and C# or VB.NET, but it would be better to use C or C++ for this.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.