查看单个帖子
旧 2009-05-05, 11:01 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)