I use web browser control in the separate thread and to prevent thread from exit immediately I call Application.Run() in the thread. In that moment when I call Application.Run() the Main Form, from which I created the new thread, leaves focus.
Are there any way to avoid this issue? I need to use WebBrowser control in the separate thread, but don't leave focus from the Main Form when thread is created.
Thanks