Take a gander at:
http://www.codeproject.com/KB/shell/iehelper.aspx
"Jeff" <> wrote in message
news:...
>I have a C++ application that starts up other applications with
>CreateProcess and ShellExecute. I would like to be able to monitor
>Internet Explorer windows and detect when it has completed loading a
>webpage, or loaded enough for a particular link or form to be available.
>Java and JavaScript can access the document, and from there, they can get
>an array of objects in the document; is there a way to do something like
>that using C++ in a separate process?
>
> Or some other way to monitor IE windows to detect when it has completed
> loading a webpage?
>
> Thanks,
> Jeff
>