在利用SDK全局函数实现画线功能里面void CDrawtestView::OnLButtonDown(UINT nFlags, CPoint point) 
{
// TOD Add your message handler code here and/or call default
m_ptOrigin=point;CView::OnLButtonDown(nFlags, point);
}void CDrawtestView::OnLButtonUp(UINT nFlags, CPoint point) 
{
// TOD Add your message handler code here and/or call default
HDC hdc;
hdc=::GetDC(m_hWnd);
MoveToEx(hdc,m_ptOrigin.x,m_ptOrigin.y,NULL);
LineTo(hdc,point.x,point.y);
::ReleaseDC(m_hWnd,hdc);CView::OnLButtonUp(nFlags, point);
}书上说MoveToEx第二、第三个参数是新位置的坐标,那么为什么使用m_ptOrigin呢?这个应该是原来位置的呀。而新位置应该是point呀?请高手解释一下!