psogaa
asked on
capture onKeyDown
How do i capture onKeyDown events that are triggered outside my program?
Say i wanted to make a program that beeps or something everytime a certain key is pressed in any other program i might be using.
Any help appreciated :)
Say i wanted to make a program that beeps or something everytime a certain key is pressed in any other program i might be using.
Any help appreciated :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you both, it works great :)
This article will help you to do that
Hooks: Capture keys in all Windows applications
http://www.q3.nu/trucomania/truco.cgi?408&ing
and this article to help you to understand the hook in windows
An introduction to hook procedures
http://delphi.about.com/library/bluc/text/uc063001a.htm
Best regards
Mohammed