Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 23.10.06 15:17 
Hallo,
gibt es eine Möglichkeit, einen Hot Key mit doppeltem Modifier zu registrieren ?
Bis jetzt geht ja nur sowas:
RegisterHotKey(Handle, ID, MOD_ALT, Ord('A'));
Das würde heißen: Alt+A
Aber kann man nicht auf Shift+Alt+A oder Strg+Alt+A Hot Keys erzeugen ?

Geht sowas ?

Danke schonmal.

Ciao LHUser
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 23.10.06 15:25 
user profile iconLonghornUser hat folgendes geschrieben:

gibt es eine Möglichkeit, einen Hot Key mit doppeltem Modifier zu registrieren ?

Ja ;)

Und zwar so hier:
ausblenden Delphi-Quelltext
1:
RegisterHotKey(Handle, ID, MOD_ALT or MOD_CRTL, Ord('A'));					



Übrigens sind die in der Überschrift genannten Hooks was ganz anderes, als HotKeys.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."