SendKeys Help Needed

M

Me

I have a Windows application (app1). When I launch it, it starts a process
(myP0) that runs another application (app2). By default app1 starts
minimized and is not visible in the system tray. What I want to do is code
it so that when the users presses the ESC key the keystroke is captured by
app1 and the app1 kills the process that is running app2. Killing app2 is
not a problem. However, since app2 has the focus, how do I get app1 to
capture the ESC keystroke?

Thank you,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top