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
For more information, see AFX_MSG.