学习中遇到问题?
创建一个AppWizard程序框架,命名为PropertyApp,第一~第六步全部选择默认,生成的类头文件
PropertyAppView.h中有以下消息映射函数。
//{{AFX_MSG(CPropertyAppView)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
但我在书上的列子中产生的消息映射函数确是这样的
//{{AFX_MSG(CPropertyAppView)
afx_msg void OnFunProp();///////////为什么我的没有这句呢?????
//}}AFX_MSG
DECLARE_MESSAGE_MAP()