Sending key strokes to a window
I need to control a Windows program by simulating keystrokes, ie. sending Alt-F to popup the File menu.
I assume I will need to send WM_CHAR commands with the correct letter, e.g. F, but how do I specify the Alt.
If someone could give me a SendMessage example for Alt-F and Ctrl-N I would be grateful.