hrproperties.cpp

来自「用visual c++写的一个超文本编辑器」· C++ 代码 · 共 38 行

CPP
38
字号

#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()





⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?