Click here to Skip to main content
15,746,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to disable Alt key,control key,windows key,Esc key and shift key in windows application using

1 solution

Share this answer
Comments 22-Oct-13 4:14am    
hi i worked the above first link like "Disable Special Keys in Win App C#[^]". i got one error for running time. The error is .

CallbackOnCollectedDelegate was detected
Message: A callback was made on a garbage collected delegate of type 'AppsNet!AppsNet.frmMain+LowLevelKeyboardProc::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.

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