How do I recive key and mouse commands, while in other apps?

How do I recive key and mouse commands, while in other apps?

GetKeyState(VK_F1) can be used if it's repeted with 10ms interval.
But that doesn't seem effective.
Anyother way I can recive commands while a diffrent application is active?

Something about win32 Hooks?

Comments

  • How do I set up a keyboard hook?
    Most keyloggers loops itself endlessly and drains 50% of the cpu.
    So It does seem smarter to intercept the key&mouse strokes as windows recives them.
    How do I do that using a keyboard hook?
    Thanks for your help.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion