WebBrowser control on tab making main window inactive?

Unfortunately, I never found a (non-workaround) solution to the exact same problem that I had in the past. There is a way to prevent IE7 from stealing focus through ActiveX (so I've read), but I never pursued it.

Unfortunately, I never found a (non-workaround) solution to the exact same problem that I had in the past. There is a way to prevent IE7 from stealing focus through ActiveX (so I've read), but I never pursued it. What I ended up doing was loading the .

Pdf into the WebBrowser control in the OnSelectedIndexChanged event of the TabControl so that the focus wasn't stolen until the user actually entered the tab where the WebBrowser control existed. I know this isn't the best, but it's all I have. These look promising though: Prevent WebBrowser control from stealing focus?

pcreview.co.uk/forums/hidden-webbrowser-....

Thanks jskiles1. I saw those pages from a Google search, but they don't exactly address my particular problem. The first one talks about preventing the behavior I'm trying to create -- wish I had HIS problem!

The second one seems to be discussing saving and restoring focus before and after navigating to a webpage. However, I'll check into the parent form's Deactivate event and some of the WebBrowser's events as well. Thanks!

– Jeff Elliott Mar 8 at 0:38.

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