Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
someone help me use Winapi function setWindowsHookEx() in a windows forms application. I am working on a project that will need to disable key combinations such as CTRL+ESC, ALT+F4. I dont understand how to use those WINAPI functions in windows forms application. Is it possible to use those functions in forms application? If so, how?
Posted
Comments
The_Inventor 4-Jan-14 5:55am    
Use your if statements.
Malli_S 10-Feb-14 6:08am    
Check my articles, also you can use Windows Registry entries to disable the above specified keys. Need not to use hooks, if you modify the Registry Entries.

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