//{{AFX_MSG()解决思路
//{{AFX_MSG()
为什么我使用MFC的classWizied生成的消息处理函数,还有控件变量,并没有给我添加上如题目那样子的前缀提示呢?
------解决方案--------------------
有是一直有,但是define的内容都是空
------解决方案--------------------
http://msdn.microsoft.com/en-us/library/aa235257(v=vs.60).aspx
AFX_MSG_MAP
Remarks
ClassWizard and AppWizard insert specially formatted comment delimiters in your source code files to mark the places in your files that ClassWizard can write to. AFX_MSG_MAP is used to mark the beginning and end of message map entries in a class’s message map (in the .CPP file):
//{{AFX_MSG_MAP(classname)
...
//}}AFX_MSG_MAP
为什么我使用MFC的classWizied生成的消息处理函数,还有控件变量,并没有给我添加上如题目那样子的前缀提示呢?
控件
mfc
afx
------解决方案--------------------
有是一直有,但是define的内容都是空
------解决方案--------------------
http://msdn.microsoft.com/en-us/library/aa235257(v=vs.60).aspx
AFX_MSG_MAP
Remarks
ClassWizard and AppWizard insert specially formatted comment delimiters in your source code files to mark the places in your files that ClassWizard can write to. AFX_MSG_MAP is used to mark the beginning and end of message map entries in a class’s message map (in the .CPP file):
//{{AFX_MSG_MAP(classname)
...
//}}AFX_MSG_MAP