How do I drag a vertical line across a 2d line graph?

How do I drag a vertical line across a line graph (displayed on a dialog) & display the intersecting values?

I am using an MFC graph control to display several lines of stored data, on a graph dialog.
I want to be able to display and drag a vertical line along the x-axis (using OnLButtonDown?) which would dynamically display the intersecting line values in, for example, a grid.
I'm new to this forum, so if I'm being a big vague, I can provide more details.
Any help would be much appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!