🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by John Rewouy Wed, 12 Apr 2006 15:36
Capture all keyboard and mouse clicks
#3897
Author: John Rewouy
Date: Wed, 12 Apr 2006 15:36
10 lines
1045 bytes
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.
Re: Capture all keyboard and mouse clicks
#3903
Author: Michel Corbin
Date: Thu, 13 Apr 2006 13:03
18 lines
1498 bytes
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.
> 
> 
> 
Re: Capture all keyboard and mouse clicks
#3933
Author: 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.
>> 
>> 
>> 
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads