高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|