我在BmpViewerApp类中增加了函数OnMultiFileOpen()来代替原来的OnFileOpen()函数,我首先删除了有关OnFileOpen()函数的相关代码,再在BmpViewer.h中增加代码:“afx_msg void OnMultiFileOpen();“又在BmpViewer.cpp中把ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)改成ON_COMMAND(ID_FILE_OPEN, CWinApp::OnMultiFileOpen),并且编写了OnMultiFileOpen的相关处理代码,但在编译时出现以下的错误代码,请问是不是漏了修改些什么导致这些错误的?请各位高手帮忙解决,十分感谢!
--------------------Configuration: BmpViewer - Win32 Debug--------------------
Compiling...
BmpViewer.cpp
F:\study\try\2002.8.25\BmpViewer\BmpViewer.cpp(29) : error C2039: 'OnMultiFileOpen' : is not a member of 'CWinApp'
        d:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(4031) : see declaration of 'CWinApp'
Error executing cl.exe.BmpViewer.exe - 1 error(s), 0 warning(s)