Article View: borland.public.cppbuilder.nativeapi
Article #930Re: Hook
From: devl
Date: Fri, 21 Dec 2007 21:29
Date: Fri, 21 Dec 2007 21:29
27 lines
1993 bytes
1993 bytes
Hi, Thanks, I've already try with this messages. But it doesn't work fine. It crash after a moment or other problem like mouse message are not captured when mouse is not in my window. http://deja.com ??? Don't works ? Could you give me another site or example ? "Remy Lebeau (TeamB)" <no.spam@no.spam.com> a οΏ½crit dans le message de news: 47604449$1@newsgroups.borland.com... > > "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:
<476c2f5d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.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-mailReferences:
<475d84cf$1@newsgroups.borland.com> <475da9e2@newsgroups.borland.com> <47602d0f$1@newsgroups.borland.com> <47604449$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 From: "devl" <devleen@Libertysurf.fr> Newsgroups: borland.public.cppbuilder.nativeapi References: <475d84cf$1@newsgroups.borland.com> <475da9e2@newsgroups.borland.com> <47602d0f$1@newsgroups.borland.com> <47604449$1@newsgroups.borland.com> Subject: Re: Hook Date: Fri, 21 Dec 2007 22:29:16 +0100 Lines: 29 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: 91.163.226.168 Message-ID: <476c2f5d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1198272349 91.163.226.168 (21 Dec 2007 13:25:49 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.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