Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Changing Key Values

$
0
0

Hello 

I have a question about changing the key strokes values within system.windows.input and I wonder if anyone could help, I was asked by a friend if you could change the value of a key or keys at the windows level for example instead you run the application so it would change the value of the "9" key to the value above it. So the "9" key would be changed "(" all the time to you close the application.

I try'd to import system.windows.input.Keys but I could only get access to the System.Windows.input level and i have try'd to add the reference to the form in the form properties.

Using System.Windows.Input; - Works
Using System.Windows.Input.Keys; - Doesn't Work i get a red line under the word "Keys"
Using System.Windows.Input.Keyboard; Doesn't Work i get a red line under the word "Keyboard"

So my question is can you change the keyboard key vales at the windows level by an application? 





Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>