Article View: borland.public.cppbuilder.nativeapi
Article #4170Keyboard hooking: replacing characters
From: Stefan Meyer
Date: Sun, 12 Mar 2006 20:54
Date: Sun, 12 Mar 2006 20:54
19 lines
1641 bytes
1641 bytes
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
Technical Details
Message-ID:
<1142196848.136251.169250@i40g2000cwc.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b0e7c177926bf8e5,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mail From: "Stefan Meyer" <thaleskreis@gmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Keyboard hooking: replacing characters Date: 12 Mar 2006 12:54:08 -0800 Organization: http://groups.google.com Lines: 20 Message-ID: <1142196848.136251.169250@i40g2000cwc.googlegroups.com> NNTP-Posting-Host: 89.51.253.166 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1142196853 15198 127.0.0.1 (12 Mar 2006 20:54:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 12 Mar 2006 20:54:13 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; de) Opera 8.52,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i40g2000cwc.googlegroups.com; posting-host=89.51.253.166; posting-account=fYzx6A0AAADZb-LvBUjO14uuZRSxKtq1