-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrcad.cpp
More file actions
47 lines (32 loc) · 885 Bytes
/
rcad.cpp
File metadata and controls
47 lines (32 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// rcad.cpp: 实现文件
//
#include "pch.h"
#include "MFCApplication4.h"
#include "afxdialogex.h"
#include "rcad.h"
// rcad 对话框
IMPLEMENT_DYNAMIC(rcad, CDialogEx)
rcad::rcad(CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_DIALOG3, pParent)
{
}
rcad::~rcad()
{
}
void rcad::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Control(pDX, IDC_RICHEDIT21, m_ctrlRichEdit);
}
BEGIN_MESSAGE_MAP(rcad, CDialogEx)
ON_EN_CHANGE(IDC_RICHEDIT21, &rcad::OnEnChangeRichedit21)
END_MESSAGE_MAP()
// rcad 消息处理程序
void rcad::OnEnChangeRichedit21()
{
// TODO: 如果该控件是 RICHEDIT 控件,它将不
// 发送此通知,除非重写 CDialogEx::OnInitDialog()
// 函数并调用 CRichEditCtrl().SetEventMask(),
// 同时将 ENM_CHANGE 标志“或”运算到掩码中。
// TODO: 在此添加控件通知处理程序代码
}