Autor Beitrag
Christian V.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 311

Win Xp Prof
Turbo Delphi 2005
BeitragVerfasst: So 21.08.05 14:12 
Hallo, ich möchte in meinem Programm HotKeys(Systemweite) benutzen.
Um diese im Programm enstellen zu können, dachte ich, nehme ich einfach die HotKey Felder.
Doch ich weiss nicht wie ich den Wer daraus auslesen kann.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
procedure TForm1.FormCreate(Sender: TObject);
begin
   MessageDlg(Format('Screen Width = %d' + #13#10 + 'Screen Height = %d',
            [Screen.Width, Screen.Height]), mtInformation, [mbOK], 0);
   RegisterHotkey(handle,1,MOD_CONTROL or MOD_ALT,72);
   RegisterHotkey(handle,2,MOD_CONTROL or MOD_ALT,83);
   //RegisterHotkey(handle,3,MOD_CONTROL or MOD_ALT,67);
   RegisterHotkey(handle,3,HotKey2.????); //<----- Hier, da möchte ich den Wert des Hokey Feldes einlesen.

end;

Ich freue mich auf Antworten.


Moderiert von user profile iconChristian S.: Topic aus Sonstiges verschoben am Di 23.08.2005 um 11:28

_________________
Hardware runs the world, software controls the hardware, code generates software - Have You already coded today?
Christian V. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 311

Win Xp Prof
Turbo Delphi 2005
BeitragVerfasst: So 21.08.05 14:48 
Ok, habs raus:
ausblenden Delphi-Quelltext
1:
registerHotKey(handle,3,0,hotkey2.HotKey);					

_________________
Hardware runs the world, software controls the hardware, code generates software - Have You already coded today?