DWebBrowserEvents2::NewWindow2



I've put together a ATL CompositeControl that hosts a
ShDocVw::WebBrowser ActiveX control, and implements the interfaces of
the contained object.

Everything seems to work just fine, until I have the host of the ATL
control respond to the NewWindow2 event. A new window is created, and
the ATL control in that new window fires a BeforeNavigate2 event with
the correct parameters, but the navigate never succeeds.

I've attempted to pass the ShDocVw::WebBrowser object directly to the
ppDisp in NewWindow2, but the results are nearly identical.

Has anyone seen this behavior before?

.



Relevant Pages

  • Re: What does an Active X control mean by Accelerator?
    ... ATL 7.0 came out more than 2 years after that article:). ... Besides, Dharma Shukla used to work in Microsoft, ... > "Alexander Nickolov" wrote in message ... >>> and after creating the control to subclass the child window using a ...
    (microsoft.public.win32.programmer.ole)
  • RE: Subseven Scans
    ... these hosts seemed to be home systems. ... Korea...so perhaps the "control characters" were ... > root of the drive. ... scanning these remote hosts, accessing the drives, ...
    (Incidents)
  • VC2005 - interface doesnt appear in classview
    ... I am struggling to create an ATL ActiveX control that can fire events and be placed into IE. ... And I had to uncheck the "Minimal" checkbox in the Create Wizard, or else the correct interfaces for IE were not supported, specifically the IProvideClassInfo2Impl. ...
    (microsoft.public.vc.atl)
  • CComClassFactory2::CreateLicense *always* gets called. Why?
    ... I have a simple ATL control created with Visual C++ 6.0 ATL Wizard. ... I know that to create licensing, you create a class with the ... CreateInstance() function is always called, ...
    (microsoft.public.vc.atl)
  • Tabbing Problem with ATL Dialog
    ... I used VS.Net 2003 to create an ATL control with an ATL Dialog. ... LRESULT OnGUICreate(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& ...
    (microsoft.public.vc.atl)

Loading