Registriert seit: 29. Mai 2002
37.621 Beiträge
Delphi 2006 Professional
|
AW: registerHotKey funktioniert nicht
28. Jun 2011, 23:08
Delphi-Quellcode:
function InstallHook(Hwnd: Cardinal): Boolean; stdcall;
begin
Result := False;
if HookHandle = 0 then begin
HookHandle := SetWindowsHookEx(WH_KEYBOARD_LL, @LowLevelKeyboardProc, HInstance, 0);
WindowHandle := Hwnd;
Result := HookHandle <> 0;
end;
end;
Michael Ein Teil meines Codes würde euch verunsichern.
|