Listen to window messages and respond to keyevents (vb.net 2005)
Posted on 2007-08-03
I would like to know how to catch all keypresses in a specific window, irregardless of what control in the window has focus, provided the window has focus. Then I want to respond to the keystrokes. I tried using the builtin form event, keydown, or keypress or any of the other ones similar, but the event is not being triggered. How would I listen to the messages on the window and respond to keystrokes?
Thanks alot Experts! I totally appreciate all your help. ~Michael