Article View: borland.public.cppbuilder.nativeapi
Article #8134Using SetWindowsHookEx() to target specific window control
From: CC
Date: Thu, 18 Nov 2004 19:34
Date: Thu, 18 Nov 2004 19:34
16 lines
1357 bytes
1357 bytes
Greetings- - I would like to monitor the keystrokes in a control in another app. I understand the SetWindowHookEx() needs to be in a .dll I'm wonding how to make the association between establishing a hook to another application, and then in that application to an edit box (for example). I've done projects using FindWindow(), and then getting window handles of child windows, etc. I'm sure there is a connection, but can anybody connect to dots for me? Thanks, CurtC
Technical Details
Message-ID:
<419cdca5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a7b5d77d3a61450f,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "CC" <nospammer@aol.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Using SetWindowsHookEx() to target specific window control Date: Thu, 18 Nov 2004 11:34:37 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 12.219.156.16 Message-ID: <419cdca5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100799141 12.219.156.16 (18 Nov 2004 09:32:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail