Re: How Can I Detect Mouse Click Or Key Press When The Application

2005-04-05 05:27:37 PM
Thanks very much!
I'll give it a try :-)
"Damon Chandler (TeamB)" < XXXX@XXXXX.COM >wrote:
Hi Ramy,
You'll need to use a system-wide hook (namely, the SetWindowHookEx()
function). Have a look at the following page for a code example...

Good luck,
Damon (TeamB)
C++Builder Developer's Journal
BCB Commonly Asked Questions

Ramy wrote:
>How can i detect Mouse button Click or a keyboard key press when
>the application not in focus?