webbrowser and flash site stealing focus...?

Aug 5 2010 11:20 PM
This should be simple, maybe not, but I have a program with a web browser control that displays a flash website. I am trying to incorporate keypress events which work btw, but as soon as I click inside the flash site the keypress events don't work anymore. I know why they stop working I just cannot figure out how to fix it. I almost had a work around which involved setting this.focus() on every event. Stupid, I know.

Let's say for instance this web browser control was just a portion of the program, and all it did was display the page. I have other functions I need to implement, and would like to use keyboard shortcuts.

Any ideas?

thanks,
craig

Answers (4)