ADDITIONAL NOTE:
As already thousand times said in this forum, do not draw inside mouse messages handlers.
Just call Invalidate or InvalidateRect and draw inside CView::OnDraw.