-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMyEditView.cpp
More file actions
81 lines (54 loc) · 1.2 KB
/
Copy pathCMyEditView.cpp
File metadata and controls
81 lines (54 loc) · 1.2 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// CMyEditView.cpp : implementation file
//
#include "pch.h"
#include "soroMfcMultiViews.h"
#include "CMyEditView.h"
// CMyEditView
IMPLEMENT_DYNCREATE(CMyEditView, CEditView)
CMyEditView::CMyEditView()
{
}
CMyEditView::~CMyEditView()
{
}
BEGIN_MESSAGE_MAP(CMyEditView, CEditView)
ON_WM_SIZE()
ON_WM_CREATE()
END_MESSAGE_MAP()
// CMyEditView diagnostics
#ifdef _DEBUG
void CMyEditView::AssertValid() const
{
CEditView::AssertValid();
}
#ifndef _WIN32_WCE
void CMyEditView::Dump(CDumpContext& dc) const
{
CEditView::Dump(dc);
}
#endif
#endif //_DEBUG
// CMyEditView message handlers
void CMyEditView::OnInitialUpdate()
{
CEditView::OnInitialUpdate();
// TODO: Add your specialized code here and/or call the base class
}
void CMyEditView::OnSize(UINT nType, int cx, int cy)
{
CEditView::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
}
int CMyEditView::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CEditView::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here
return 0;
}
void CMyEditView::PostNcDestroy()
{
// TODO: Add your specialized code here and/or call the base class
delete this;
//CEditView::PostNcDestroy();
}