void CChildView::On1MouseMove(UINT nFlags, CPoint point)
{
        if(pressed == true){
                CClientDC        dc(this);
                dc.SelectStockObject(NULL_BRUSH);
                dc.SetROP2(R2_NOT);

                dc.MoveTo(s.x, s.y);
                dc.LineTo(point);

                s = point;
                
                dc.SetROP2(R2_COPYPEN);
        }
}

이게 자유곡선 코드인데 이거 성공한건데  
이거를 point 없이 하는거예요


그래서 헤더에 CPoint qq;  추가하고

void CChildView::On1MouseMove(UINT nFlags, CPoint point)
{
        if(pressed == true){
                CClientDC        dc(this);
                dc.SelectStockObject(NULL_BRUSH);
                dc.SetROP2(R2_NOT);

                ::GetCursorPos(&qq);

                dc.MoveTo(s.x, s.y);
                dc.LineTo(qq);

                s = qq;
                
                dc.SetROP2(R2_COPYPEN);
        }
}



이렇게 했는데 짤방 처럼나옴....