How to detect mouse clicks?
You need to write a mouse hook if you want to intercept any mouse clicks, movement, mouse wheel clicks…etc. This is the only way AFAIK if you want to track mouse activity outside of your own application. You need to import the SetWindowsHookEx(…) function from the User32.dll file if you want to install a hook. … Read more