Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between CNiCursor::SnapFloating & CNiCursor::SnapFixed

Hello
I don't see what is the difference between following snap modes with cursors in graphs : CNiCursor::SnapFloating & CNiCursor::SnapFixed ?
==> In all cases the cursor can move with the mouse any where on the graph.
 
 
 
 
0 Kudos
Message 1 of 5
(7,070 Views)
Hi Ricou,
 
The only difference between them two is defined in the help:
 
The following cursor snap modes are valid:
  • CNiCursor::SnapFloating—sets cursor independent of any plot.
  • CNiCursor::SnapNearestPoint—snaps cursor to nearest point on any plot.
  • CNiCursor::SnapPointsOnPlot—snaps cursor to points on a specific plot.
  • CNiCursor::SnapFixed—the cursor is independent of any plot or axes setting
Regards,
0 Kudos
Message 2 of 5
(7,003 Views)

Hi,

thanks for the answer but it does not help me so much, I had found the help reference but the way it is explained was not clear to me.

However, since the time I sent this request, I continued my developpment and remarked that the difference between SnapFloating & SnapFixed does not come from the fact that the cursor can or cannot be moved with the mouse (in TrackDragCursor mode) but the difference comes from the fact that when the graph plot area is panned (scrolled) (still with the mouse but in TrackPanPlotAreaxxx) the cursor moves (SnapFloating ) or not(SnapFixed).

Is this correct ?

PS: This is the kind of anwser I was waiting for.

Regards

 

 

0 Kudos
Message 3 of 5
(7,000 Views)

Hi back Ricou38,

If I understand the behavior you just described, this is what the end of the help seems to explain: [...]or axes setting[...]

Regards,



Message Edité par Mathieu Steiner le 11-15-2007 08:03 AM
0 Kudos
Message 4 of 5
(6,997 Views)

Hi Mathieu

Perhaps it is, but may be a few more words on the help would have been welcomed.

Regards,

 

0 Kudos
Message 5 of 5
(6,994 Views)