| description | Learn more about: CHtmlEditDoc Class | ||||||
|---|---|---|---|---|---|---|---|
| title | CHtmlEditDoc Class | ||||||
| ms.date | 11/04/2016 | ||||||
| f1_keywords |
|
||||||
| helpviewer_keywords |
|
||||||
| ms.assetid | b2cca61f-e5d6-4099-b0d1-46bf85f0bd64 |
With CHtmlEditView, provides the functionality of the WebBrowser editing platform within the context of the MFC document-view architecture.
class AFX_NOVTABLE CHtmlEditDoc : public CDocument
| Name | Description |
|---|---|
| CHtmlEditDoc::CHtmlEditDoc | Constructs a CHtmlEditDoc object. |
| Name | Description |
|---|---|
| CHtmlEditDoc::GetView | Retrieves the CHtmlEditView object attached to this document. |
| CHtmlEditDoc::IsModified | Returns whether the associated view's WebBrowser control contains a document that has been modified by the user. |
| CHtmlEditDoc::OpenURL | Opens a URL. |
CHtmlEditDoc
Header: afxhtml.h
Constructs a CHtmlEditDoc object.
CHtmlEditDoc();
Retrieves the CHtmlEditView object attached to this document.
virtual CHtmlEditView* GetView() const;
Returns a pointer to the document's CHtmlEditView object.
Returns whether the associated view's WebBrowser control contains a document that has been modified by the user.
virtual BOOL IsModified();
Opens a URL.
virtual BOOL OpenURL(LPCTSTR lpszURL);
lpszURL
The URL to open.
Returns TRUE on success, FALSE on failure.