Skip to content

Keyboard input processing #8217

Answered by miloush
maraf asked this question in Q&A
Sep 14, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

If you are trying to create any sort of global input experience, you should write an IME, that's what they are designed for; setting global input hooks is generally frown upon. Some helpful links:

Looks like you can also reach out to people internally if you needed help with that.

But to answer your question, the window messages are processed by WPF and delivered to the TextBox control through routed events.

You can inject input into WPF by calling InputManager.ProcessInput. However, for keyboard input, you would need to pass System.…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@miloush
Comment options

miloush Sep 14, 2023
Collaborator

@maraf
Comment options

maraf Sep 14, 2023
Collaborator Author

@miloush
Comment options

miloush Sep 15, 2023
Collaborator

@maraf
Comment options

maraf Sep 15, 2023
Collaborator Author

@miloush
Comment options

miloush Sep 15, 2023
Collaborator

Answer selected by maraf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants