为什么会显示这个错误呢
void CmouseView::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
CDC pDC = this->GetDC;*//这一句错误
if (m_rect.PtInRect(point))
{
pDC->Ellipse(point.x - 5, point.y - 5, point.x + 5, point.y + 5);
MessageBox(NULL, _T(“In the Box”));
}
else
{
pDC->Ellipse(point.x - 5, point.y - 5, point.x + 5, point.y + 5);
MessageBox(NULL, _T(“Out the Box”));
}
CView::OnLButtonDown(nFlags, point);
}