I am trying to make a text box which displays the current keystroke combination the user is pressing. For example, if I press the control key, the alt key, and the S key, "Ctrl+Alt+S" will be displayed in the textbox.
In the VS IDE, if you go to Tools > Customize > Keyboard, and press a keystroke combination in the text box under "Press shortcut keys," you will see what kind of functionality I'm looking for.
One more thing, how would I save the keystroke combination to a variable. And, how could I convert this variable to a string if I wanted to save the user's settings to a text file?
Thanks.
In the VS IDE, if you go to Tools > Customize > Keyboard, and press a keystroke combination in the text box under "Press shortcut keys," you will see what kind of functionality I'm looking for.
One more thing, how would I save the keystroke combination to a variable. And, how could I convert this variable to a string if I wanted to save the user's settings to a text file?
Thanks.
Last edited: