几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】flyover snap not working (http://www.dimcax.com/hust/showthread.php?t=16329)

yang686526 2009-05-05 11:01 AM

【转帖】flyover snap not working
 
flyover snap not working
flyover snap not working
i am trying to fix a bug in my application called icad. the bug is reproducible. in circle option two tangent points and say radius. in next circle, two tangent points and radius. but in next circle, after selecting first tangent, snap vanishes.
in code (we are using mfc on vs 6.0 sp5), i noticed that, the function onmousemove, collects snap points through a function processpoint(). then it calls onlbuttondown (after clicking mouse button). after third point, the thread remains in cwinthread::run() and doesn't start the onmousemove again. therefore, snap point is not visible.
i have attached the relevant code.
i feel, onmousemove should work with every point, but somehow it is not called after three points.
please help me out.
nitin


所有的时间均为北京时间。 现在的时间是 12:00 AM.