MFC
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

CDHtmlDialog::CreateControlSite 

Overridable used to create a control site instance to host the WebBrowser control on the dialog.


virtual BOOL CreateControlSite(
   COleControlContainer* pContainer,
   COleControlSite** ppSite,
   UINT /* nID */,
   REFCLSID /* clsid */ 
);

Parameters

pContainer

A pointer to the COleControlContainer object

ppSite

A pointer to a pointer to a COleControlSite.

Nonzero if successful; otherwise 0.

You can override this member function to return an instance of your own control site class.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.