Is there a way to stop the WebBrowser control from causing its parent form to bring itself to the front?
If you use the InvokeScript method to invoke a JavaScript fu
Implement IProtectFocus::AllowFocusChange in an object
Implement IServiceProvider on the same object that implements IOleClientSite, then respond to a IServiceProvider::QueryService for SID_SProtectFocus with an object that exposes IProtectFocus
This is a new interface in IE7, so old versions are out of luck.