1

My goal is to hook the Alt key and while it is down, process the next char pressed as a shortcut key, the way the Ctl key works in a TMenuItem.

I tried the FormKeyUp event but it never returns ssAlt in the Shift parameter.

How can I accomplish this? Is there any Windows message that I can hook to detect that the Alt key is down?

Dharman
  • 30,962
  • 25
  • 85
  • 135
user2383818
  • 709
  • 1
  • 8
  • 19

0 Answers0