求助~~
如题,都需要在.h和.cpp的什么位置添加什么?
谢谢大侠们~
如题,都需要在.h和.cpp的什么位置添加什么?
谢谢大侠们~
解决方案 »
- listctrl人工排序, 数据交换的问题
- 执行CFtpFileFind的FindFile()会卡住,高手们帮我看看
- 我刚学VC,怎么删除类?
- 请教:vector<CMyClass>的问题,在MyClass中有ConnectionPtr,感觉有些奇怪.
- 高手请进!高分重奖!
- 请问:怎样给通用的“打开文件”对话框制定一个目录,为默认的打开目录?
- 比较痛苦得问题:基于单文档的程序,生成模式对话框,对话框响应OnCancel(),关闭对话框的时候居然连父窗口(视文档程序)全部关闭了?
- 求助各位大神
- win98的"网络监视器"如何实现?
- 最最初级的问题,望不要见笑
- Listcontrol列表里面,右键弹出菜单
- CFormView 控件无法取值??
protected:// Generated message map functions
protected:
//{{AFX_MSG(CMyRichEditView)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
afx_msg void OnDestroy();
afx_msg void OnChange(); //}}AFX_MSG
DECLARE_MESSAGE_MAP()
};cpp文件中
BEGIN_MESSAGE_MAP(CMyRichEditView, CRichEditView)
//{{AFX_MSG_MAP(CMyRichEditView)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
ON_WM_DESTROY()
ON_CONTROL_REFLECT(EN_CHANGE, OnChange) //}}AFX_MSG_MAP
// Standard printing commands
ON_COMMAND(ID_FILE_PRINT, CRichEditView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CRichEditView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CRichEditView::OnFilePrintPreview)
END_MESSAGE_MAP()
void CMyRichEditView::OnChange()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CRichEditCtrl::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
}