0

I have a window-less tray app (.NET Framework 4.5.2) and want to handle any middle mouse clicks on other windows (outside my app). How can I get/register this event including the cursor location (for further purposes) to trigger an own method?

tar
  • 156
  • 2
  • 13
  • 1
    https://stackoverflow.com/questions/54746218/global-mouse-hook-in-c-sharp-application – dr.null Oct 14 '22 at 20:39
  • A bit late, but thanks @dr.null - this worked for me: https://github.com/justcoding121/windows-user-action-hook – tar Nov 17 '22 at 02:07

0 Answers0