OnNewWindow2(LPDISPATCH FAR* ppDisp, BOOL FAR* Cancel)
event handler to assign ppDisp new value from created child window with another CHtmlView instancem_pWnd->m_pView->SetRegisterAsBrowser( TRUE );
*ppDisp = m_pWnd->m_pView->GetApplication();
The PROBLEM is when I close child window I can't invoke popup window clicking on any link in main window anymore. Only when I call refresh of main window I can invoke popup windows. This is not applicable for my project and I search for other solution . I think the problem can be in assigning new value to ppDisp but I don't know how to solve it