c++ keyboard hook

Discussion in 'Software' started by attiliov, Jan 19, 2009.

  1. attiliov

    attiliov Private First Class

    I'm writing a program that uses a keyboard hook. Currently the way it works is that when the hook is installed the user can open up notepad or any app, type in there and the hook will record all the keystrokes; however I need the hook to intercept the inputs and not let other applications take control of the keyboard. So if I open notepad and press a key the hook should record it but the key shouldn't appear in notepad. Does anyone know how to do this?
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds