Autor Beitrag
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Mo 12.05.03 15:17 
Hallo Leute,

kann ich irgendwie im Popupmenu beim onclick auf ein item abfragen, ob beispielsweise die Ctrl taste gedrückt ist?

Gruß
Ken
JacFab
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 111



BeitragVerfasst: Mo 12.05.03 15:42 
ja da gibt es 2 möglichkeiten.
entweder du registrierst hotkeys, und lässt dann dein prog merken, ob die strg taste gedrückt ist. dann kannst du ja einfach bei der click prozedur abfragen.
die 2. möglichkeit sind hooks.
tipp das mal in die suchmaschine ein oder guck dir das hier an:


www.swissdelphicente...emos/DemoTip1212.zip

ich hoffe das hilft dir weiter.