Auto-refresh a side-bar through a BrowserHelperObject when i get focus on a tab page
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 singl开发者_运维百科e days.
You need to sink DWebBrowserEvents2 and respond to the WindowStateChanged event.
精彩评论