Compiling...
ImageView.cpp
E:/MyProjects/Image/ImageView.cpp(188) : error C2352: 'CView::OnInitialUpdate' : illegal call of non-static member function
d:/program files/microsoft visual studio/vc98/mfc/include/afxwin.h(3584) : see declaration of 'OnInitialUpdate'
E:/MyProjects/Image/ImageView.cpp(190) : error C2065: 'SetScrollSizes' : undeclared identifier
解决方案:
CImageView的基类应该是CScrollView,然而你的估计是CView。
建立mfc是,将基类选择为CScrollView