Njawin and getting a handle to IE popup windows
843829Jul 14 2004 — edited Jul 15 2004I am using njawin to generate mshtml and shdocvw in order to control Internet
Explorer. I can get IE to come up and I can click links, set inputs, etc. But when I click a link the pops up a new window how do I get a handle to it? I am using the event NewWindow2 which gets called, but there is no reference to the new window passed in.
Njawin generated Java:
public void NewWindow2(Object o, ObjectRef objectRef, ObjectRef objectRef1) throws COMException
MSHTML interface:
void NewWindow2(
IDispatch **&ppDisp,
VARIANT_BOOL *&Cancel
);
Please advise� thanks,
Brian