Capturing key press messages

  • Thread starter Thread starter Jeremy
  • Start date Start date
J

Jeremy

We're building some software for an in-house Kiosk. The software is a basic
..net windows form with an embedded browser. The Kiosk is outfitted with a
mat that the user steps on. When the user steps on the mat, it sends a key
comination through the keyboard. When the user steps off the mat it sends a
different key combination.

What we want to do is look for the key combination in our app, and based on
if the user steps on or off, cause the browser to go to a different url.

How do you hook the keyboard to accomodate this type of situation?
 
Hi,

Did you tried to set the Keypreview property of your form to true and to
overrides OnKeyXXX methods?
 
Back
Top