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_DISP is used to mark the beginning and end of OLE Automation declarations in a class’s header (.H) file:
//{{AFX_DISP(classname)
...
//}}AFX_DISP
For more information, see AFX_DISP_MAP.