Re: How to intercept the tab closing event (IE7) in a BHO?
- From: Jean-Fabrice RABAUTE <jfr@xxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jul 2007 10:56:42 +0200
gzching@xxxxxxxxx a écrit :
I have a browser helper object by which I use to intercept the closingHi,
of a IE window and tab window inside it. I can handle IEFrame window
through SC_CLOSE message. But I don't know how to handle the tab
closing. Is there any message/event that I can intercept?
Thanks
Yuqing Zhu
On IE7, there is one BHO instance per tab.
When a tab is closing, your BHO "SetSite" method will be called with a null pointer, and your BHO will be requested to destroy (your destroy method of your class will be called).
Hope this helps.
--
Best Regards / Cordialement
====================
Jean-Fabrice Rabaute
CORE SERVICES :: Software/Web development & Consulting services
http://www.debugbar.com : The most advanced WEB development tool for Internet Explorer
http://www.core-services.fr - {Enjoy the future today}
.
- Follow-Ups:
- References:
- How to intercept the tab closing event (IE7) in a BHO?
- From: gzching
- How to intercept the tab closing event (IE7) in a BHO?
- Prev by Date: How to intercept the tab closing event (IE7) in a BHO?
- Next by Date: Re: Browser Dialogs not showing up for embedded IE
- Previous by thread: How to intercept the tab closing event (IE7) in a BHO?
- Next by thread: Re: How to intercept the tab closing event (IE7) in a BHO?
- Index(es):
Relevant Pages
|
|