Forum: Win32/Win64 API (native code)
Delphi
by wsks,
1. Apr 2004
writeln('Hallo Welt');
:hello:
Gruss wsks
Forum: Win32/Win64 API (native code)
Delphi
by wsks,
30. Mär 2004
Das Beispeil mit den Hotkeys soll nur zeigen was passiert wenn das Form durch RECREATE ein neues HND bekommt.
Ich muss aber im Projekt öfter Borderstyle usw. ändern.
Gruss wsks
Forum: Win32/Win64 API (native code)
Delphi
by wsks,
30. Mär 2004
Hallo,
ich habe mit folgendem Programm das Problem, dass nach ändern der Borderstyle ein RECREATE ausgeführt wird und sich somit das HND vom Form1 ändert. Folglich gehen auch die HOTKEY'S nicht mehr.
So nun erstmal CODE:
procedure TForm1.WMHotKeyReg;
var hk_id_A :integer;
hk_id_B :integer;
hk_id_C :integer;
begin
hk_id_A:=1;