Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#4

Re: Globales Hotkey gehalten?, sowas wie WM_KEYDOWN

  Alt 10. Sep 2008, 17:45
Zitat von Hedge:
Guter Vorschlag aber es gibt ein Problem bei GetAsyncKeyState:

The return value is zero if a window in another thread or process currently has the keyboard focus.
Bei mir funktioniert es auch, wenn ein Fenster eines anderen Fensters den Focus besitzt.


Zitat von msdn:
Windows NT/2000/XP: The return value is zero for the following cases:

The current desktop is not the active desktop
The foreground thread belongs to another process and the desktop does not allow the hook or the journal record.
Thomas
  Mit Zitat antworten Zitat