Re: Problem with HTMLDocumentEvents on Gmail



"weirdo3d" <weirdo3d@xxxxxxxxx> wrote in message
news:1181112741.741216.236600@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Have a look at this line.
FSinkComponent.Connect(WebBrowser.Document as IHTMLDocument2);
where FSinkComponenet is a HTMLDocumentEvents object.
Each time, DocumentComplete event is received, FSinkComponent gets
overridden with the new WebBrowser.Document, and i get onClick events
from only that frame.

So create a separate sink object for each frame.
--
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


.