Re: How can I know when the URL I specified to Navigate method get loaded?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Tue, 15 Apr 2008 07:44:28 -0400
"yuzhu.shen" <yuzhu.shen@xxxxxxxxx> wrote in message
news:0dd585eb-872f-4d86-b690-dbd21e499cef@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
I want to know how to associate a NavigateComplete2 event (or
something like that) with the original request. Put it in other words,
I use Navigate() to ask the control to navigate to some URL, and I
want to know if it is get loaded (if yes, when it is get loaded).
Watch BeforeNavigate2 event. NavigateComplete2 would correspond to the
latest BeforeNavigate2.
Right after you call Navigate, you would get BeforeNavigate2 event
indicating that the navigation has started. If you get NavigateComplete2
without any intervening BeforeNavigate2, then it's for your request. If
you get another BeforeNavigate2 instead, it means some other navigation
has started (e.g. by user clicking on a link) and your request is
abandoned.
You may also want to watch NavigateError event, in case your request
fails for some reason without ever reaching NavigateComplete2 state.
--
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:
- References:
- How can I know when the URL I specified to Navigate method get loaded?
- From: yuzhu.shen
- Re: How can I know when the URL I specified to Navigate method get loaded?
- From: Igor Tandetnik
- Re: How can I know when the URL I specified to Navigate method get loaded?
- From: yuzhu.shen
- Re: How can I know when the URL I specified to Navigate method get loaded?
- From: Igor Tandetnik
- Re: How can I know when the URL I specified to Navigate method get loaded?
- From: yuzhu.shen
- How can I know when the URL I specified to Navigate method get loaded?
- Prev by Date: Re: How to disable the clicking sound when Navigating?
- Next by Date: Unknown IExplorer Dispatch Event
- Previous by thread: Re: How can I know when the URL I specified to Navigate method get loaded?
- Next by thread: Re: How can I know when the URL I specified to Navigate method get loaded?
- Index(es):
Relevant Pages
|
|