SendKeys Help Needed

  • Thread starter Thread starter Me
  • Start date Start date
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
 
Back
Top