I am starting a process from a Windows application. When I press a button I want to simulate the pressing of key F4 in that process. How can I do that?
[Later edit] I don't want to simulate the pressing of the F4 key in my form, but in the process I started.