Hallo,
schreibe anstelle von:
das:
schreibe anstelle von:
SiS-Shadowman hat gesagt.:Code:void CTag3Dlg::OnMouseMove(UINT nFlags, CPoint point) { if ((nFlags & MK_LBUTTON) == MK_LBUTTON) { CClientDC dc(this); dc.MoveTo(m_iPrevX, m_iPrevY); dc.LineTo(point.x, point.y); m_iPrevX = point.x; m_iPrevY = point.y; } CDialog::OnMouseMove(nFlags, point); }
das:
Code:
void CTag3Dlg::OnMouseMove(UINT nFlags, CPoint point)
{
if ((nFlags & MK_LBUTTON) == MK_LBUTTON) {
CClientDC dc(this);
dc.MoveTo((int)m_iPrevX, (int)m_iPrevY);
dc.LineTo(point.x, point.y);
m_iPrevX = point.x;
m_iPrevY = point.y;
}
CDialog::OnMouseMove(nFlags, point);
}