I do not want to create global hotkeys that work in the whole system. I have this note taking app which uses a TextBox to display the note (from a text file) and for now, I want only 2 internal shortcuts.
Ctrl + A: To select the whole text in the TextBox
Ctrl + S: To automatically save the note to the text file
I only want both hotkeys to work if the TextBox control has focus...
Question
ProclaimDragon
I do not want to create global hotkeys that work in the whole system. I have this note taking app which uses a TextBox to display the note (from a text file) and for now, I want only 2 internal shortcuts.
Ctrl + A: To select the whole text in the TextBox
Ctrl + S: To automatically save the note to the text file
I only want both hotkeys to work if the TextBox control has focus...
Any help is appreciated.
Link to comment
https://www.neowin.net/forum/topic/571215-c-how-do-i-create-some-hotkeys-inside-my-app/Share on other sites
12 answers to this question
Recommended Posts