my program runs always on top but doesnt have focus. when the user types a keystroke the program needs to intercept what was typed and replace the letter with something else.

Example: user hits the "a" key.
program sees "a" key has been hit.
program adds one to the ASCII value of "a" (which makes it "b")
program displays the letter "b"

the process is invisible to the user. when the hit the "a" key, a "b" appears (just as if the user had hit "b" in the beginning.

also please remember my program does this even if it doesnt have the focus.


thanks for your help!