πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3933

Re: Capture all keyboard and mouse clicks

#3933
From: Sam S. Firouz
Date: Wed, 19 Apr 2006 22:47
30 lines
1684 bytes
I have used it and it works great on application level If you
want to capture all the keyboard and mouse events on the
entire system you should take a look at windows hooks.

Thank you
Sam



"Michel Corbin" <"Michel Corbin"> wrote:
>Hi
>Have a look at the OnMessage event in the TApplication class.
>I have never used it, so I can't say more.
>Michel.
>John Rewouy a οΏ½crit:
>> Dear BCB experts,
>> 
>> I have an application written in BCB 6. This application contains multiple 
>> forms.
>> I want to log every mouse and keyboard clicks on my application. (Which 
>> control clicked, whick key pressed and when).
>> 
>> How to do this?
>> 
>> Thank you.
>> 
>> 
>> 
>
Technical Details
Message-ID: <4446bde7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <443d1e60$1@newsgroups.borland.com> <443e4c46@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,745255fca0aa927b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Sam S. Firouz" <sfirouz@comcast.net>
Sender: "Sam S. Firouz" <sfirouz@comcast.net>
Reply-To: "Sam S. Firouz" <sfirouz@comcast.net>
Subject: Re: Capture all keyboard and mouse clicks
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 132.250.186.131     
References: <443d1e60$1@newsgroups.borland.com> <443e4c46@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4446bde7$1@newsgroups.borland.com>
Date: 19 Apr 2006 15:47:03 -0700
X-Trace: newsgroups.borland.com 1145486823 207.105.83.66 (19 Apr 2006 15:47:03 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail