
ActiveX WebBrowser control creation during runtime
Hi,
Use creation something like...:
m_whatever.Create(NULL, WS_VISIBLE | WS_CHILD, CRect(0, 0, 100, 100),
this, ID_BROWSER)
where ID_BROWSER is defined in your resource symbols.
Regards,
--
Adrian O' Neill
Remove * in email address to reply
Quote:
> Hi there,
> I need to create a WebBrowser control during runtime and display it in an
> custom control, can sombody help me ow to do this.
> I tried to create the control by CreateEx, but I haven't got the
> lpszClassName, so I cannot create it. I already got a container class
calles
> CWebBrowser2 created by VC. And I cannot use the control inside a dialog,
I
> need it in my custom control which is SECControlBar from Objective
Toolkit.
> Thanks