Compartir a través de


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

Return Value

Nonzero if successful; otherwise 0.

Remarks

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

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

Other Resources

CDHtmlDialog Members