CHtmlEditCtrl Class

Provides the functionality of the WebBrowser ActiveX control in an MFC window.

class CHtmlEditCtrl: public CWnd, 
   public CHtmlEditCtrlBase< CHtmlEditCtrl >

Name

Description

CHtmlEditCtrl::CHtmlEditCtrl

Constructs a CHtmlEditCtrl object.

Name

Description

CHtmlEditCtrl::Create

Creates a WebBrowser ActiveX control and attaches it to the CHtmlEditCtrl object. This function automatically puts the WebBrowser ActiveX control into edit mode.

CHtmlEditCtrl::GetDHtmlDocument

Retrieves the IHTMLDocument2 interface on the document currently loaded in the contained WebBrowser control.

CHtmlEditCtrl::GetStartDocument

Retrieves the URL to a default document to load in the contained WebBrowser control.

The hosted WebBrowser control is automatically put into edit mode after it is created.

Header: afxhtml.h

Show: