Click here to Skip to main content
15,911,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a global hook app (hook Keyboard), I run this app, then I create an other app which contains a TextBox - I want to block that hook on this TextBox (when the second app runs). How to do this? Thank in advances for your help.
Posted
Updated 31-Mar-11 22:03pm
v2

You want to block a hook[^]? Ask him[^]!!
 
Share this answer
 
Comments
edjeit 1-Apr-11 4:54am    
Funny ;)
To best of my knowledge, you cannot. If your could, it would defeat the purpose of hooks and badly compromise whole system integrity. Don't forget, all hooks are chained together, so every hook is mandated to call previoud hook. The ability to "disable" or "block" any hook from application level would break the whole chain, which would be a huge instability.

If you think of it you will probably understand you don't really want it.

—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