alex1234
asked on
To simulate a keystroke
How can I send for instance ALT + 'a' keystroke from a program? I didn't find any API except keybd_event() which does not have a way to specify the ALT key.
Platform: WINDOWS NT 4.0 and KeyboardEventEx() API is not available.
Platform: WINDOWS NT 4.0 and KeyboardEventEx() API is not available.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
LoL, ok! Thanks for the tip! Like I said, I've only used it for CTL keys. =)
~Aaron
~Aaron
not with VK_ALT (its not defined)!
use VK_MENU or 0x12 instead