正在加载图片...
2.添加鼠标响应函数 5.2 void CMove TestView: OnL Button Down(UINT nFlags, CPoint point) if(flag=="track") struct pointstruct * temppoint while(point listhead) temppoint = pointlisthead pointlisthead pointlisthead->next delete temppoint drawtrack=true CView: OnLButton Down(nF lags, point)2.添加鼠标响应函数 5.2 void CMoveTestView::OnLButtonDown(UINT nFlags, CPoint point) { if(flag= ="track") { struct pointstruct *temppoint; while(pointlisthead) { temppoint = pointlisthead; pointlisthead = pointlisthead->next; delete temppoint; } drawtrack=true; } CView::OnLButtonDown(nFlags, point); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有