Click here to Skip to main content
15,885,696 members
Articles / Web Development / HTML

DHTML Editor with Table Support and Source Editor

Rate me:
Please Sign up or sign in to vote.
4.95/5 (85 votes)
14 Feb 2011CPOL15 min read 662K   10K   197  
A complete class encapsulating a versatile HTML editor
#include "stdafx.h"
#include "DHtmlEditDemo.h"
#include "HrProperties.h"


// Dialog to enter properties of a <HR> (horizontal line)

IMPLEMENT_DYNCREATE(CHrProperties, CDialog)

CHrProperties::CHrProperties(CWnd* pParent /*=NULL*/)
	: CDialog(CHrProperties::IDD, pParent)
{
	ms32_Shade = 0;
}

CHrProperties::~CHrProperties()
{
}

void CHrProperties::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT_WIDTH, ms_Width);
	DDX_Text(pDX, IDC_EDIT_SIZE,  ms_Size);
	DDX_Text(pDX, IDC_EDIT_COLOR, ms_Color);
	DDX_CBIndex(pDX, IDC_COMBO_SHADE, ms32_Shade);
}


BEGIN_MESSAGE_MAP(CHrProperties, CDialog)
END_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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) ElmüSoft
Chile Chile
Software Engineer since 40 years.

Comments and Discussions