Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

cursor to mouse position

I am wondering if there is a function or way that allows one to record the position of your mouse on the graph.  Currently I'm trying to reposition the X and Y cursors to where I double click on the graph.  I know how to set the position of the cursors using SetPostion().  The problem I'm encountering is that I can record the position mouse using OnMouseUp() but the coordinates do not relate to the scale of my graph.  Does anyone have any suggestions for me?  Thanks.
0 Kudos
Message 1 of 4
(5,782 Views)
R0B3RT,
 
You didn't say what programming language you were using in your program, so I can't provide a specific example of doing this.  But if you are using the CWGraph ActiveX Control, you can use KB 11H7EH1J: Using the ComponentWorks Graph Cursor Events.  If you are using one of the .NET controls, let me know which language you are programming in, and I'll be able to help more.
 
Josh W.
National Instruments
Applications Engineer
Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 2 of 4
(5,766 Views)
I know this is a old post, but this is exactly what I want...Did you find something else, (the hyperlink is breaks)

I'm using Labview 8.5...on XP

FakStory
0 Kudos
Message 3 of 4
(5,274 Views)