How to use this great lib with a WPF project?

May 5, 2012 at 5:29 AM
Edited May 5, 2012 at 5:30 AM

I'm a week old C# newbie so I apologize if I ask something trivial. :)

I've managed to make GMKH work with my WPF application (a very
simple reproduction of your demo app) after adding

using System.Windows.Forms;

However that lead to an error indicating that MouseEventArgs was
also defined in the System.Windows.Input library. After removing that
stuff works but was wondering if there is a more elegant solution
for this...

Disabling the Forms lib and leaving the Input one intact causes the
following message:

No overload for 'HookManager_MouseClick' matches delegate 'System.EventHandler<MouseKeyboardActivityMonitor.MouseEventExtArgs>'

I'd appreciate any pointers. :)