Re: Multiple IE instances
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Tue, 19 Apr 2005 11:56:43 -0400
"amit sengupta" <amit@xxxxxxxxxxxxxxxxx> wrote in message
news:%23o$go6NRFHA.3096@xxxxxxxxxxxxxxxxxxxx
> I have implemented the DWebbrowserEvents event sink and its catching
> all events from the current IE instance. My problem is if there are
> multiple IE instances open, and I want to catch events in
> BeforeNavigate2, how do I know which of the browser instances should
> I control.
The first parameter of BeforeNavigate2 is the reference to the browser
firing this event.
> Is it a good idea to use the same event sink for all browser
> instances or should each browser instance make the app spawn a
> separate event sink so it keeps a track of individual objects per IE
> instance.
I personally use one sink per instance.
--
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:
- Re: Multiple IE instances
- From: amit sengupta
- Re: Multiple IE instances
- References:
- Multiple IE instances
- From: amit sengupta
- Multiple IE instances
- Prev by Date: Re: problem implementing iolecommandtarget to override javascript erro
- Next by Date: Re: Given a IWebBrowser2 where do I implement IAuthenticate and IServiceProvider?
- Previous by thread: Multiple IE instances
- Next by thread: Re: Multiple IE instances
- Index(es):