Re: New MSDN BHO Article - Building Browser Helper Objects with Visual
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Fri, 27 Oct 2006 17:24:30 -0400
Jeremy Epling - MSFT <jeremy.epling@xxxxxxxxxxxxxxxxxxxx> wrote:
This article has prescriptive advice on how to build a reliable BHO
the way the IE designed them to be built. This was written by 2
members of the IE development team and has an easy step-by-step guide
using Visual Studio 2005. Even if you are new to COM/ATL, you will
find this article valuable.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/dnexpie/expie_hello_bho.asp
"If the page has no frames, the event is fired once after the page is
ready, but before any script has run."
This statement is misleading at best. Scripts run as soon as the
<script> tag is encountered (except when it has DEFER attribute), which
naturally happens before the page is fully loaded. The timing described
in the article is simply impossible.
"... those that fire DownloadBegin will also fire a corresponding
DocumentComplete."
DocumentComplete is not paired with DownloadBegin - DownloadComplete is.
When the user clicks Refresh, DownloadBegin and DownloadComplete events
fire, but DocumentComplete does not. And of course the user may hit Stop
button in the middle of download and prevent DocumentComplete from
firing.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Prev by Date: Re: New MSDN BHO Article - Building Browser Helper Objects with Visual
- Next by Date: Re: Call C++ method from Javascript in page
- Previous by thread: Re: New MSDN BHO Article - Building Browser Helper Objects with Visual
- Next by thread: Re: New MSDN BHO Article - Building Browser Helper Objects with Visual
- Index(es):