MouseMove not fired after control re-position!

B

bobalong

Hi

I've implemented a custom control that forms part of a video timeline
(like the slider in WMP). This control represents a marker that I can
place on the timeline to indicate an event within the video. I can move
(drag) these markers left and right along the timeline to re-position
the event.

I have a tooltip that that gets activated when the user positions the
mouse over one of these markers which displays the marker's current
time. It updates dynamically when I drag the marker left and right...
no problems so far.

My problem is that the tooltip disappears when the drag slows to a stop
and the mouse becomes still. When I release the mouse button the
tooltip pops up again fine. So it's fine when the mouse is over the
marker, fine when the mouse is down (both at the start of the move
operation and during the move), but it disappears when the mouse stops
moving and before the mouse button is released.

When the tooltip has disappeared it does not return until I release the
mouse button, even if I move the mouse again! It's as though MouseMove
is not being fired just because the mouse is still down and it has
become still!

This is bad for my application as I want my users to be able to drag
the markers to a new time, stop, check the time on the tooltip and
re-position if necessary.

I am setting the tooltip text on the control's MouseMove event. My
tooltip has the following properties:

AutomaticDelay = 0;
AutoPopDelay = 300000;
InitialDelay = 0;
ReshowDelay = 200;
ShowAlways = true;

It would be nice to know the way that events are fired for the
sequence:

1. MouseEnter
2. MouseDown
3. MouseMove [which moves the control]
4. [Mouse becomes still]
5. [Mouse moves again - but no MouseMove event]
6. MouseUp

Anyone seen this before? Any thoughts on this?

Thanks
Rob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top