开发者

Auto-refresh a side-bar through a BrowserHelperObject when i get focus on a tab page

开发者 https://www.devze.com 2022-12-30 17:04 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消