malkya
asked on
about reading keys
hi all
my Question about reading keys has pressed in windows
not in delphi form only , in other words i want to
make LogFile about any keys has pressed , i hope my
Question is clear .....!
my Question about reading keys has pressed in windows
not in delphi form only , in other words i want to
make LogFile about any keys has pressed , i hope my
Question is clear .....!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hi malkya, that's a question thats been asked here at EE several times, Here's a page at EE that I answered about a Key Hook . . .
https://www.experts-exchange.com/questions/20347433/Translate-Key-Code-message-lparam.html
you might also do a search here at EE for WH_KEYBOARD
https://www.experts-exchange.com/questions/20347433/Translate-Key-Code-message-lparam.html
you might also do a search here at EE for WH_KEYBOARD
Something else, If you just want to Get the keyboard keys pressed an NOT block or change the key pressed, then you could use a Journal hook, which does Not need to run in a .DLL library. It can be set in your program and get all Keyboard activity.
ASKER
hi cesario
it's average because some trouble has occured but no problem It's OK
All whant you need is a global keyhook.
you can download this component:
System Wide Keyboard Hook v.1.1
http://www.torry.net/vcl/system/keys/fngb2202.exe
(with Source)
If you whant to know more about hook programming:
Delphi Hooks Tutorial
http://www.gajits.com/delphihooks.asp
good luck
Cesario