Click here to Skip to main content
15,886,067 members
Articles / Web Development / HTML

Handling HTML Element Events in CHtmlView and Reusing CDHtmlDialog Serial Class

Rate me:
Please Sign up or sign in to vote.
4.75/5 (18 votes)
9 Jun 2005 539.9K   5.8K   58  
The enhanced CHtmlView class handles the HTML element event and exchanges data in the view.
// htmlExDoc.h : interface of the ChtmlExDoc class
//


#pragma once

class ChtmlExDoc : public CDocument
{
protected: // create from serialization only
	ChtmlExDoc();
	DECLARE_DYNCREATE(ChtmlExDoc)

// Attributes
public:

// Operations
public:

// Overrides
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~ChtmlExDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
China China
If your chinese is good,pls visit my website:http://blog.mvpcn.net/luo31/.

Comments and Discussions