Firemonkey working with Alt + Char


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?

Comments are closed.