has anyone the following issue:
when I'm creating elements from my stored entities I sometimes get a strange behaviour of the "magnetic cursor" (the X like cursor when snap to element in the toolbar is enabled) - sometimes it fits to the mouse (arrow) position, but following a line it may change direction and moves to another direction than the mouse arrow!
The mouse cursor is still working an it is also selecting the coorect elements, but the X cursor seems to be lost.
does anyone have an idea how to fix this?
is there a possibility to hide the magnetic "X" cursor?
Here's some DEBUG output:
Code: Select all
...
cadEditorControl1.PictureBox.MouseMove += new MouseEventHandler(PictureBox_MouseMove);
...
void PictureBox_MouseMove(object sender, MouseEventArgs e)
{
Debug.WriteLine("RP: {0}/{1}\t\t SP: {2}/{3} MP: {4}/{5}", Image.SnapRealPoint.X, Image.SnapRealPoint.Y, Image.SnapScreenPoint.X, Image.SnapScreenPoint.Y, e.X, e.Y);
}
SP: Image.SnapScreenPoint X/Y values
MP: MouseEventArgs e X/Y values
RP: 2071.92711830139/2701.71456336975 SP: 842/337 MP: 842/337
RP: 2071.92711830139/2701.71456336975 SP: 842/337 MP: 842/337
RP: 2068.16272735596/2701.71456336975 SP: 841/337 MP: 841/337
RP: 2068.16272735596/2701.71456336975 SP: 841/337 MP: 841/337
==> what happens here... SP and MP are different? What's the reason? <==
RP: 989.904163697254/1411.01989863903 SP: 547/691 MP: 840/337
RP: 989.904163697254/1411.01989863903 SP: 547/691 MP: 840/337
thank you
Roman