Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to do this:set a window hook in an application such as cal.exe、IE,and if I press any key,my application can show me what key I pressed by message.show();Using C# please!I try to find the solution,but no one can help me ,please show me the code,thanks!My English maybe very bad,so don't care
Posted
Comments
Sergey Alexandrovich Kryukov 3-Aug-13 23:14pm    
Please don't re-post; this is considered as abuse, by some apparent reasons.
If some past answers don't satisfy you, you can always provide some feedback by commenting them. To certain reasonable extent, you can ask you follow-up questions on the page of your original question. You should only post new question if its topic is essentially different from your previous question, at least in some essential detail.
—SA
DragonetLi 4-Aug-13 10:59am    
I'm sorry to re-post,but don't want to do that,I try to do what you say,but it still fail,I need code,I need examples.
Sergey Alexandrovich Kryukov 4-Aug-13 12:24pm    
I warned you that the task is not simple...
—SA

1 solution

Please see my recent answer: How to set a window hook in other application?[^].

—SA
 
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