一般都用GDI实现: void CXiangpijinView::OnMouseMove(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default CView::OnMouseMove(nFlags, point); if (Lbrndown) { CClientDC dc(this); int oldmode=dc.SetROP2(R2_NOTXORPEN); CPe