Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Annotations

Live could be so easy... , if Annotations would offer more comfort.

I have following needs and problems in my application:
1. transparent Annotations (only with MinMaxRegion possible?)
2. All Annotations should be moveable and resizeable with the mouse.
3. There should be access to all Annotations (and their corresponding edit points) even if they are on top of each other.
4. On MinMaxRegions with only x values (full y range) there are no edit points (small white rectangles to catch them with the mouse)
5. All lines and edge points of Annotations should be accessable to move and resize the Annotation (like in nearly all drawing programs)
6. Annotations should be really transparent (although they are colored) that no overlapping Annotation hides other Annotations.
7. Is there a possibility to get the current marked Annotation (edit points are activated)?
8. If TrackMode = cwGTrackAllEvents is activated the CWGraph1_AnnotationMouseMove is available but with TrackMode = cwGTrackDragAnnotation not!
   Also the AnnotationMouseDown and AnnotationMouseUp event are then not fired.

The behaviour can be tested with the attached test program.
Are there possible workarounds for the listed points?

Do anybody know, if NI plans an update for the Annotations?
Helpful suggestions and code snippets would be appreciated.
0 Kudos
Message 1 of 2
(6,206 Views)
hello gz-stefan,

for not implemented features you can submit up a productsuggestion.

point 1,5 and 6 are currently not implemented. if they get implemented it will be in MStudio for .NET.

2: The arrow and caption of an annotation is resizable at runtime, but the annotation itself is currently not resizable.

8: This is expected behavior. You can point to the help for CWGraphTrackModes. Events are automatically handled if you have "DragAnnotation" as the Trackmode. Thus, all of the mouse events will not fire. They are expected to be handled by you if the track mode is "TrackAllEvents"

can you provide some further information for points 3 and 4?

regards,

robert h
NI germany

Message Edited by RobertH on 04-27-2006 03:22 AM

0 Kudos
Message 2 of 2
(6,178 Views)