C# WPF - RegisterHotKey prevents from Textbox to receive input : Hello there and thank you for your time,

I've been recently fiddling around with WPF, trying to learn as I go and decided to do a small project to help me learn faster.

I have run into this problem, which is not quite exactly a problem, more of a logical contradiction, I would say.

What I've been doing is registering global key presses. While my window is either the top window or another one is highlighted, register every key press there is on Windows. I have been using the RegisterHotKey function which tells the computer to interpret keyboard input differently, if I understand properly. Which prevents me from using the keyboard as I would normally while this application is open in the background.

Every search I make comes up empty, they all lead me to RegisterHotKey which might not be the right solution in my case. I want to read global key presses while still keeping the same old keyboard input.

Even a slight suggestion on how this might be done will be greatly appreciated!

Thank you in advance.