Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

custom slider ??

Hi:

I'm trying to create a slidebar with 2 sliders on it. The intention is to let the user can choose an area of interest: x0,x1,y0,y1, and corresponding dotted lines will be drawn over the image.

I dont know how to accomplish this, but I'm thinking if there's a way to lay down an image (that would be the slidebar) and 2 images over it (each being a "slider" of the slidebar), and all I'd need to do is keep track of the mouse clicks and drags.

Or possibly, use graphs for the sliders, and have 2 plotted images that could move as you click the graphs... but I am fairly lost when it comes to trying to find mouse coords (never got OnPlotMouseDown to work for me).

Any ideas on how to accomplish this? (Anything better than NI for this task? .. Trying to stay with NI since the rest of the project is written with it.)

Thanks,
Ryan
0 Kudos
Message 1 of 2
(2,924 Views)
problem solved!

just used a bunch of cursors, and left out the custom slidebars.

😃
0 Kudos
Message 2 of 2
(2,915 Views)