I need some basic hotkey functionality in my C++ app, and I ran into this small issue:
If I register a hotkey for, say, Alt+Q (using RegisterHotKey api), and handle it by sending an 'A' keystroke (via SendInput), the target window receives an Alt+A because, of course, alt is still held down. How does AHK solve this issue? Does it emit an "alt up"? In that case, what would happen if I press Q again without releasing and pressing alt again, would it still count as Alt+Q or would it be just Q?