Gadget for capturing raw keyboard input?
Posted: Sat Oct 05, 2024 1:35 am
I'm looking for some sort of gadget that can take the keyboard focus, and when it does, lets you process the keys any way you'd like. My first thought on the best way to do this is to subclass a TextGadget() and make it able to take keyboard focus, and also overwrite its handling of WM_KEYDOWN and so on. I have a small amount of experience subclassing edit controls in PB, but have utterly no idea how to do this. It's also possible that I'm way overcomplicating it or there's an existing solution. Any guidance or tips here?
Thanks,
Quin.
Thanks,
Quin.