c# - How to record listened key strokes as string? -
i'm listening key events global hook setwindowshookex
. lets assume user types a
, b
, c
, backspace
, , d
. sequence results string abd
. there easy way convert sequence of key strokes resulting string in text area?
i'm thinking redirecting these strokes hidden text area pinvoke function setforegroundwindow
seems tricky , slows down system considerably.
what simple way of doing this?
Comments
Post a Comment