摘要: voidCGraphic1View::OnMouseMove(UINTnFlags,CPointpoint){if(MK_LBUTTON==nFlags){CClientDCdc(this);intoldmode=dc.SetROP2(R2_NOTXORPEN);CPenpen(m_nLineStyle,m_nLineWidth,m_clr),*oldpen;oldpen=dc.SelectObject(&pen);dc.MoveTo(m_ptOrigin);dc.LineTo(m_ptEnd);m_ptEnd=point;dc.MoveTo(m_ptOrigin);dc.LineTo 阅读全文
posted @ 2013-09-30 15:16 友琼 阅读(846) 评论(0) 推荐(0) 编辑