Webbrowser Control stealing shortcuts?

I had this problem when loading Silverlight inside a winforms WebBrowser and I solved it by adding the following to the body element.

I had this problem when loading Silverlight inside a winforms WebBrowser and I solved it by adding the following to the element: onload="document. GetElementById('silverlightControl').focus()" ...which, of course, meant I have to give an id of silverlightControl to my element: If you only have HTML, maybe you can call focus() on the document or perhaps the first hyperlink?

I ran across this answer becase I was having the same problem, and tried onLoad='document.focus();'. That didn't work (it's just plain HTML in the WebBrowser, with jQuery being used but nothing started). WebBrowserShortcutsEnabled = false.

When I set that to true, it DOES allow me to exit, BUT I don't want all the other shortcuts enabled either, so I can't do that. – GuyWithDogs Sep 23 at 22:44.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions