Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor is displayed behind annotation

I have a picture annotation. Then I try to display cursors. But the cursors are displayed behind annotations and because invisible. How to display cursors infront of annotations?
0 Kudos
Message 1 of 4
(7,220 Views)
We should check that the annotation is set to display below the plot.  This will allow the cursor to be drawn above the annotation. 

Right click your graph and go to Edit Annotations..
Scroll down in the properties box and look for a property called ShapeZOrder.  It is the last one in the list for me.
Make sure that is set to Below Plot.

With that set your annotation should be displayed below the plot and cursors.  Let me know if it is still not displaying properly.


Kristen
National Instruments
0 Kudos
Message 2 of 4
(7,201 Views)
Thanks, But I am using Measurement Studio8.1 for VS2005 C++. I also create CNiGraph and CNiAnnoation during running time. I cannot find a function to set z-order.
0 Kudos
Message 3 of 4
(7,197 Views)
It does not look like there is a way to set the order things are drawn on the graph for VC++ as you can in .NET languages.  If your image is all one color you can set your image to be transparent and set the color that will be transparent.  However, this will not really work with an image that has more colors.

Take a look at this forum thread that talks about how to set a picture to be transparent:
http://forums.ni.com/ni/board/message?board.id=231&message.id=5036&requireLogin=False
Kristen
National Instruments
0 Kudos
Message 4 of 4
(7,192 Views)