PDA

View Full Version : Hooking Keyboard ViA Windows API in Delphi


iamien
02-23-03, 02:42
Could anyone point me to the direction of some Tutorials on how to Hook the keyboard usings the windows PAI to capture keystrokes,
I want to enable my App to Bring itself too top if certain key combo is pressed, mainly because i want to give the option for my application to hide <its a to do list app> when user click Hide button. But i have no real way of havign it charm Form1.hide;
to
Form1.show; unless i can moniter all Keyboard strokes.
I know its posible and have been told not too hard. and i know that it wil lrequire building a DLL, buti just dont know how to code it :D Thanks