Re: catching the IHTMLWindow2 onscroll event
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 02/18/05
- Next message: duwayne_at_gmail.com: "Printing selected regions"
- Previous message: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- In reply to: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- Next in thread: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- Reply: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Feb 2005 12:43:25 -0500
"Zach" <divisortheory@gmail.com> wrote in message
news:1108745719.511950.250960@l41g2000cwc.googlegroups.com...
>I got it to work, thanks for your help. The only problem I have now is
> that when I change pages or Reload it no longer receives the scroll
> events. This makes partial sense, I suppose, since it's an HTMLWindow
> event and the window is getting reloaded with new information.
In fact, for each new page the Window object is destroyed and a new one
created. You need to handle NaviageComplete2 event from the brower, and
reestablish your sinks.
> Is there another
> way to catch reload events?
See if this helps
--
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
- Next message: duwayne_at_gmail.com: "Printing selected regions"
- Previous message: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- In reply to: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- Next in thread: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- Reply: Zach: "Re: catching the IHTMLWindow2 onscroll event"
- Messages sorted by: [ date ] [ thread ]