Article View: borland.public.cppbuilder.nativeapi
Article #912Re: Hook
From: Remy Lebeau (TeamB)
Date: Wed, 12 Dec 2007 20:26
Date: Wed, 12 Dec 2007 20:26
15 lines
1650 bytes
1650 bytes
"devl" <devleen@Libertysurf.fr> wrote in message news:47602d0f$1@newsgroups.borland.com... > I want to capture screen, keys and mouse move and clicks > in my and other applications. Look at SetWindowsHookEx(). You can use WH_MOUSE, WH_KEYBOARD, and WH_GETMESSAGE/WH_CALLWNDPROC for that. You will have to implement your hook procedures inside a DLL in order to hook other applications, though. Go to http://www.deja.com and search the newsgroup archives, as examples have been posted many times before. Gambit
Technical Details
Message-ID:
<47604449$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<475d84cf$1@newsgroups.borland.com> <475da9e2@newsgroups.borland.com> <47602d0f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,21ca95ce6b673016 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <475d84cf$1@newsgroups.borland.com> <475da9e2@newsgroups.borland.com> <47602d0f$1@newsgroups.borland.com> Subject: Re: Hook Date: Wed, 12 Dec 2007 12:26:29 -0800 Lines: 17 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <47604449$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1197491273 207.178.157.90 (12 Dec 2007 12:27:53 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail