void CChapView::OnLButtonDown(UINT nFlags, CPoint point) 
{
// TODO: Add your message handler code here and/or call default CView::OnLButtonDown(nFlags, point);
}void CChapView::OnRButtonDown(UINT nFlags, CPoint point) 
{
// TODO: Add your message handler code here and/or call default

CClientDC dc(this);
p[m_PN].x=p[0].x;
p[m_PN].y=p[0].y;
m_PN++;
dc.Polyline(p,m_PN);

CView::OnRButtonDown(nFlags, point);
}一个比例变换得程序,怎么出现了这些错误呢??
D:\visual c++\MSDev98\MyProjects\chap\chapView.cpp(139) : error C2601: 'OnLButtonDown' : local function definitions are illegal
D:\visual c++\MSDev98\MyProjects\chap\chapView.cpp(146) : error C2601: 'OnRButtonDown' : local function definitions are illegal
D:\visual c++\MSDev98\MyProjects\chap\chapView.cpp(157) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\chapView.sbr': No such file or directory
执行 bscmake.exe 时出错.