Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my application I want to set keyboardhook on sethook button click event.
please how can I achieve this?
Thanks,
Posted

If the button is in a form owned by your process, then you don't need a keyboard hook at all. Just handle the keyboard events on that button.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 21-Feb-11 12:48pm    
Vise answer, Nishant. My 5.
If OP still needs a hook, it will be quite different Question.
I've already been puzzled what to tell about hooks, but -- no.
--SA
Do you mean you want to set a keyboard hook when the button has been clicked? Or did you want the answer above?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900