Re: create new browser process and able to handle browser events
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Thu, 24 Apr 2008 17:48:04 -0400
"cseifert" <christian.seifert@xxxxxxxxx> wrote in message
news:23b828b7-1e25-4261-b524-dbec26914c9d@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there, I am trying to create multiple browser windows with their
own process IDs each. Still would like to be able to handle the
browser events.
1. createProcess function gives me the browser windows with their own
process IDs
2. CoCreateInstance allows me to create multiple browser windows and
able to handle the browser events, but all is happening under one
process
Is there a way to get both?
Use CreateProcess, then use ShellWindows to enumerate all browser
instances and figure out which one is the one you've just created (based
on process ID). This will give you IWebBrowser2 for this 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
.
- References:
- create new browser process and able to handle browser events
- From: cseifert
- create new browser process and able to handle browser events
- Prev by Date: create new browser process and able to handle browser events
- Next by Date: Re: modify html code on the fly
- Previous by thread: create new browser process and able to handle browser events
- Index(es):
Relevant Pages
|
|