Forum: Win32/Win64 API (native code)
Delphi
by bayo,
19. Aug 2003
Hm, irgendwie funktioniert das ja doch:
procedure TForm1.WMHotKey(var Msg : TWMHotKey);
var
attach, attachTo: Cardinal;
value: String;
begin
Case Msg.HotKey of
FOCUSEDWND_HOTKEY: begin
attach := GetWindowThreadProcessId(GetForegroundWindow, nil);
Forum: Win32/Win64 API (native code)
Delphi
by bayo,
19. Aug 2003
Hm, irgendwie bringe ich das ganze nicht zum laufen :(
Habe meinen Code wie folgt abgeändert:
procedure TForm1.WMHotKey(var Msg : TWMHotKey);
var
attach, attachTo: Cardinal;
begin
Case Msg.HotKey of
FOCUSEDWND_HOTKEY: begin