Keyboard hooking: replacing characters


2006-03-13 04:54:08 AM
cppbuilder101
Hi,
I'm going to develop a software which runs in the background
(as a tray-icon) and supervises the user's entries in edit
components of all running software.
As I found out, this should be no problem using keyboard
hooking.
My question now is: How can I use this technique to replace
the characters that are being entered? Example: The user
types "e5" in a software like Thunderbird or Notepad and
my software should replace it automatically with, say,
the string "best wishes".
Any ideas are welcome. Thanks alot.
Stefan