NavigateComplete2 -> DocumentComplete confusion, not well formed
- From: mnachtvogel@xxxxxxxxx
- Date: 7 Dec 2005 15:57:47 -0800
Hello all,
I am monitoring a web site with multiple frames. To find out if the
whole page is loaded I use NavigateComplete2 (where I store the disp of
the first frame) and DocumentComplete (where I check the current disp
and if it equals the stored one I know it is the top frame).
This used to work correctly for months (always monitoring the same web
site with my application).
Now my application stopped working and I found out that the disp
pointers do not match any longer.
Please note that the disp 0x00c61120 never arrives in Document
Complete, but disp 0x00cf8d50 appears in DocumentComplete BEFORE
appearing in NavigateComplete.
How could this happen ?
Any idea, maybe my approach of detecting the top frame is wrong.
Do I have a wrong understanding of the navigate - complete mechanism ?
-------------------
Problems are (see calling sequence below)
1.) appears in NavigateComplete2, but never arrives in DocumentComplete
3.) appears in NavigateComplete2, but never arrives in DocumentComplete
5.) appears in Document Complete before NavogateComplete
here is the sequence as observed using debugger and breakpoints:
NavigateComplete2
1.) 0x00c61120 --> PROBLEM, this is stored, should be the top frame,
but will never be seen again in DocumentComplete
2.) 0x0cec2fa0 --> OK, DocumentComplete will follow subsequently
3.) 0x0cecdd10 --> PROBLEM, will never appear in Document Complete
DocumentComplete
4.) 0x0cec2fa0 --> OK, this one seems to be the second frame
5.) 0x00cf8d50 --> PROBLEM, did not appear in NavigateComplete2 by now
NavigateComplete2
6.) 0x00cf8d50 --> PROBLEM, appears AFTER Document Complete ???
7.) 0x0cece370 --> OK, DocumentComplete will follow subsequently
DocumentComplete
8.) 0x0cece370 --> ok, matches
many thanks in advance
mike
.
- Follow-Ups:
- Re: NavigateComplete2 -> DocumentComplete confusion, not well formed
- From: Igor Tandetnik
- Re: NavigateComplete2 -> DocumentComplete confusion, not well formed
- Prev by Date: Re: Detecting document changes in WebBrowser control
- Next by Date: Re: NavigateComplete2 -> DocumentComplete confusion, not well formed
- Previous by thread: Detecting document changes in WebBrowser control
- Next by thread: Re: NavigateComplete2 -> DocumentComplete confusion, not well formed
- Index(es):
Relevant Pages
|
|