gusucode.com > 一个相对很完善的数据挖掘系统源码程序 > 一个相对很完善的数据挖掘系统源码程序/Discover/DummyEdit.cpp
// DummyEdit.cpp : implementation file // #include "stdafx.h" //#include "tabwnd.h" #include "DummyEdit.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDummyEdit IMPLEMENT_DYNCREATE(CDummyEdit, CEditView) CDummyEdit::CDummyEdit() { } CDummyEdit::~CDummyEdit() { } BEGIN_MESSAGE_MAP(CDummyEdit, CEditView) //{{AFX_MSG_MAP(CDummyEdit) ON_CONTROL_REFLECT(EN_CHANGE, OnChange) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDummyEdit drawing void CDummyEdit::OnDraw(CDC* pDC) { CDocument* pDoc = GetDocument(); // TODO: add draw code here } ///////////////////////////////////////////////////////////////////////////// // CDummyEdit diagnostics #ifdef _DEBUG void CDummyEdit::AssertValid() const { CEditView::AssertValid(); } void CDummyEdit::Dump(CDumpContext& dc) const { CEditView::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CDummyEdit message handlers void CDummyEdit::OnChange() //增加这个,解决输入文字时,报内存错 { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CEditView::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here }