Skip to content

Latest commit

 

History

History
114 lines (89 loc) · 2.87 KB

File metadata and controls

114 lines (89 loc) · 2.87 KB
title CHtmlEditDoc Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
CHtmlEditDoc
AFXHTML/CHtmlEditDoc
AFXHTML/CHtmlEditDoc::CHtmlEditDoc
AFXHTML/CHtmlEditDoc::GetView
AFXHTML/CHtmlEditDoc::IsModified
AFXHTML/CHtmlEditDoc::OpenURL
dev_langs
C++
helpviewer_keywords
CHtmlEditDoc class
ms.assetid b2cca61f-e5d6-4099-b0d1-46bf85f0bd64
caps.latest.revision 24
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

CHtmlEditDoc Class

With CHtmlEditView, provides the functionality of the WebBrowser editing platform within the context of the MFC document-view architecture.

Syntax

class AFX_NOVTABLE CHtmlEditDoc : public CDocument  

Members

Public Constructors

Name Description
CHtmlEditDoc::CHtmlEditDoc Constructs a CHtmlEditDoc object.

Public Methods

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.

Inheritance Hierarchy

CObject

CCmdTarget

CDocument

CHtmlEditDoc

Requirements

Header: afxhtml.h

CHtmlEditDoc::CHtmlEditDoc

Constructs a CHtmlEditDoc object.

CHtmlEditDoc();

CHtmlEditDoc::GetView

Retrieves the CHtmlEditView object attached to this document.

virtual CHtmlEditView* GetView() const;  

Return Value

Returns a pointer to the document's CHtmlEditView object.

CHtmlEditDoc::IsModified

Returns whether the associated view's WebBrowser control contains a document that has been modified by the user.

virtual BOOL IsModified();

CHtmlEditDoc::OpenURL

Opens a URL.

virtual BOOL OpenURL(LPCTSTR lpszURL);

Parameters

lpszURL
The URL to open.

Return Value

Returns TRUE on success, FALSE on failure.

See Also

HTMLEdit Sample
Hierarchy Chart