I have a sidebar(iframe) that has its own instance on each tab you open. The thing is, the sidebar could be refreshed on tab 1 and not on tab 2. So i want to refresh the sidebar automatically when the user switch to another tab. Ex: user click on tab 2 and the BHO(BrowserHelperObject) refresh the sidebar right away. If anyone need precisions, please ask. I'll be checking for responses every single days.
You need to sink DWebBrowserEvents2 and respond to the WindowStateChanged event.