Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi [Hook] Taste kommt doppelt (https://www.delphipraxis.net/109710-%5Bhook%5D-taste-kommt-doppelt.html)

Aurelius 6. Mär 2008 10:07


[Hook] Taste kommt doppelt
 
Hi DPler :hi:

ich nutze in meinem programm einen tastaturhook (funktioniert auch soweit, d.h. Tasten werden empfangen und Befehle ans Hauptprogramm gesendet). Ich analysiere dabei nur das wparam in der .dll . Dabei werden aber jede Eingabe doppelt abgeschickt (ich nehme an dass das am KeyUp, KeyDown liegt).

Wie kann ich das jetzt ändern?

SirThornberry 6. Mär 2008 10:12

Re: [Hook] Taste kommt doppelt
 
indem du auch den anderen parameter auswertest. Genaue Informationen findest du in der Hilfe zu SetWindowsHookEx

Aurelius 6. Mär 2008 10:13

Re: [Hook] Taste kommt doppelt
 
Verdammt, stimmt ja :wall:

Ich hab den nie beachtet :oops:


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:41 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz