11-30-2012, 01:47 PM
Thanks, that video did help. The problem was that I assumed the running window automatically had focus when it opened, which the video indicates isn't true. Clicking in the window to listen for the mouse event worked because clicking in the window also gives it focus. Running and just pressing keys didn't work because the window doesn't have focus. If I click in the window to give it focus and then use the keys, everything seems to work fine.
Thanks for your prompt and useful help,
Dr. T
|