Hello All!
I've got a problem handling
NewWindow2 event from MS IE.
The main task is to make it to download document in the window I can control using COM.
According to MSDN I can create a new (blank) browser window for it and return
IDispatch interface pointer to it in
ppDisp parameter.
(It's displayed as
'a COMVariantValueReference on: nil (VT_DISPATCH)'
.)
So, the question is how can I return
IDispatch of the browser I've created in that parameter?
I didn't find neither a clear (for me) explanation in documentations, nor an example. I tried to guess and did it in several ways, but witout success. Can anybody help, please?
Btw, I couldn't set the value of the second parameter to cancel download either...
Thank you in advance!
--
Dennis Schetinin