12-13-2005 09:48 AM
12-14-2005 04:08 PM
Hi Michael,
I wasn't able to reproduce the bug that you mentioned. Perhaps I did something different then you when I tested it out. I was modifying the events and region of interest examples located at C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\UI\3DGraph and also the Annotations example located at C:\Program Files\National Instruments\MeasurementStudioVS2003\VCNET\Examples\UI\Graph\Annotations. Perhaps you could post some short example code that demonstrates the behavior.
I know you mentioned that you were using the OnAnnotationMouseMove() event which is generated when you move the mouse over an annotation. One thing to note is that the graph you are using will ONLY generate that MouseMove event if CNiGraph::TrackMode is set to TrackAllEvents. If TrackMode is TrackDragAnnotation, the function generates the AnnotationChange event. To set this option, you could say:
graph.SetTrackMode(CNiGraph3D::TrackModes::TrackAllEvents);
Best Regards,
12-15-2005 03:22 AM
12-15-2005 05:38 PM
Hi Michal,
I was able to fully reproduce the behavior that you saw when you were using the MinMaxRegion shape and removing the vertical limits. This does appear to be a bug and I am notifying R&D about this issue. Thanks for the find.
Best Regards,