I would like to drag the ROI around in the Image control (holding down the left mouse button) and continually read out the ROI coordinates. I can't find a way to do this: the mouse move event does not seem to fire if I hold the left mouse button down. I assumed that I would have
1. Mouse down when I click and hold.
2. Mouse move when I move the ROI around.
3. Mouse up when I release the left mouse button.
This does not seem to be the case.
I've done a simple workaround which is
1. Use the key up event to check that the space bar has been pressed.
2. Use this to toggle a "lock" boolean which locks the target to the mouse coordinates.
3. Use the mouse move event to return the Image Control Mouse Coordinates property.
4. Unlcok the target from the mouse coordinates by pressing the space bar again.
This kind of works, but it is much less intuitive than the standard windows "click and drag".
Any comments appreciated.
Thanks.
PS The Image Control is excellent, it has saved me lots of development time. Also, the ROI tools are hugely useful.