Risky, but the attached will work. Note that it is for 2013 x64
Do not try to debug it - it will crash.
HookMouseWheel.swp.zip 21.9 KB
thank you Simon, so kind of you .
I will study on it.
BTW, why it only support SW2013 64bit ? cause my customer is using SW2012 , and mostly is 32bit, you know , it would not so fast for Chinese engineer to upgrade the computer...囧rz
thanks a lot
I have 2013 x64, so I needed to use that. The API calls have been edited to support 64 bit.
To run on 32 bit, remove all instances of PtrSafe and replace LongPtr with Long