I try to track mouse with code like this:
#include #include HHOOK hMouseHook; LRESULT CALLBACK mouseProc(int nCode, WPARAM wP