M
Michael Bray
I have an application in which I want to call a javascript function inside
a microsoft IE window. I know how to do this using an embedded browser as
well as a full browser that I spawn. In both cases, it is easy to get the
handle to the IHTMLDocument object. However, it appears that the web
application is starting up a new window, and I don't have the handle to
that IHTMLdocument, so my calls to the javascript function is failing.
Does anyone have any pointers about how we can grab the handle to the new
browser, assuming that we know some kind of information (the browser title,
etc...) I was thinking maybe we could parse the Window tree or something,
looking for a particular object class... I'm not really sure.
any help is much appreciated!
TIA
-mdb
a microsoft IE window. I know how to do this using an embedded browser as
well as a full browser that I spawn. In both cases, it is easy to get the
handle to the IHTMLDocument object. However, it appears that the web
application is starting up a new window, and I don't have the handle to
that IHTMLdocument, so my calls to the javascript function is failing.
Does anyone have any pointers about how we can grab the handle to the new
browser, assuming that we know some kind of information (the browser title,
etc...) I was thinking maybe we could parse the Window tree or something,
looking for a particular object class... I'm not really sure.
any help is much appreciated!
TIA
-mdb