when i used the modeless dialog and in the mousemove message to call acedosnap function,
there has memory garbage. the memory increase,if my mouse cursor move to the acad frame,
the memory release.why?? and if the dialog is model mode,it could not found this problem.
void Ctest::OnMouseMove(UINT nFlags, CPoint point)
{
AcGePoint3d OsnapPt(0,0,0);
AcGePoint3d nPt(100,100,0);
int nnn = acedOsnap(asDblArray(nPt),_T("NOD,nea"),asDblArray(OsnapPt));
if (nnn == 5100)
{
//acutPrintf(_T("\ndlg_mousemove%d"),ss); ss++;
}
//acedUpdateDisplay();
CAcUiDialog::OnMouseMove(nFlags, point);
}
Edited by: tchg on Sep 27, 2008 7:13 AM