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


2005-04-05 05:27:37 PM
cppbuilder30
Thanks very much!
I'll give it a try :-)
"Damon Chandler (TeamB)" < XXXX@XXXXX.COM >wrote:
Quote
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...

www.swissdelphicenter.ch/torry/printcode.php

Good luck,
--
Damon (TeamB)
C++Builder Developer's Journal
bcbjournal.com
BCB Commonly Asked Questions
bcbjournal.com/bcbcaq


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