WebBrowser prevent stealing focus in C#
- by Maciej
I'm using webBrowser.Navigate(url) control to display page.
I noticed this action steals focus from current control (grid) and than I have problem to focus grid back (tired myGrid.Focus, .Select etc...)
This is really annoying behaviour of browser...
Does anyone knows how to prevent focus stealing by Browser or (if not) hot to force to focus control back ?
EDIT:
I've also tried webBrowser.DocumentCompleted event to focus back to grid