C# - Record Click Strokes into an array? -


How can I record click stroke and then put them in an array? Does the window always need to focus for it? How can I avoid it?

Requires that it works without focusing windows and it is hard. With the SetWindowsHookEx () API function, you need to use a low-level mouse hook. This requires P / Invoke, a good example is available on this.


Comments