头文件里面缺少这个声明 //{{AFX_MSG(CEx12aView) // 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 CEx12aView::OnEditClearAll(); afx_msg void CEx12aView::OnUpdateEditClearAll(CCmdUI* pCmdUI);
//{{AFX_MSG(CEx12aView)
// 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 CEx12aView::OnEditClearAll();
afx_msg void CEx12aView::OnUpdateEditClearAll(CCmdUI* pCmdUI);