Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
i would like to create a windows form which will remap/customize the key, say i change the "Insert" to "Ctrl + A", disable windows key, or "F12" for "shut down".

These shortcut will only apply whenever the application is open.
Posted
Comments
Sergey Alexandrovich Kryukov 12-Mar-13 0:02am    
Please tell us what does it mean "application is open"? How can it be related to shortcuts?
—SA
melvintcs 12-Mar-13 0:53am    
For example: when the application is running, the windows key is disabled, once i close the application file, then everything back to normal. Application here means the exe file i created with visual studio
Sergey Alexandrovich Kryukov 12-Mar-13 1:21am    
This is complete abuse: "when the application is running, the windows key is disabled". We cannot discuss it unless you explain your ultimate goal of all this, as you see it.
—SA
_Maxxx_ 12-Mar-13 2:10am    
Seems obvious what the OP wants, to me. He wants to be able to globally remap keys in the Windows OS - so while his application is running, anyone pressing , say, the 'A' key in Notepad would see an 'X' being typed.

I don't have a solution though ;)
melvintcs 12-Mar-13 4:28am    
yup, thats what i mean, sorry for a bad english :)

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