J,

- GetForegroundWindow()

Not sure if there is a more efficient way of doing things.....

------------------------------------------------------------------------
--Donovan [[EMAIL PROTECTED]]
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer [www.namsys.com.au]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);
Heard just before the 'Big Bang': "...Uh Oh...."
------------------------------------------------------------------------
GXExplorer [http://www.gxexplorer.org] Freeware Windows Explorer
replacement. Also includes freeware delphi windows explorer components.
------------------------------------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Tuesday, 17 October 2000 10:06
To: Multiple recipients of list delphi
Subject: [DUG]: Keypress


Hi all.

using windows keyboard hooks, is it posible to get the handle of the
window/control that the key is being pressed in/on ??

Cheers, Jeremy Coulter

****************************************************************************
****
This email or attachment(s) may contain confidential or legally privileged
information intended for the sole use of the addressee(s). Any use,
redistribution,
disclosure, or reproduction of this message, except as intended, is
prohibited.
If you received this email in error, please notify the sender and erase all
copies of the message, including any attachments.

Any views or opinions expressed in this email (unless otherwise stated) may
not
represent those of Pegasus Health Ltd.

****************************************************************************
****
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to