Delay Acknowledging Mouse Click and Hold



I had this under a different thread, but I think it just got lost there.

===========

I am trying to decide how to activate this floating price box. The best idea
I can come up with is a mousedown delay.

If the user clicks down the left mouse button and holds it for a full 1.5
seconds, then I'd like this box to appear.

As long as the button is held down, it will follow the mouse anywhere on the
picturebox.

Once the button is released, the box must go away. (go away box.. shoo
shoo).

Since I use the left mouse clicks for other things, such as double-click and
hold to scroll the chart, I don't want this price box to interfere with
that. That is why I need a delay. The delay is to make sure I am not simply
double-clicking for scrolling. If I double-click, the price box should never
open.

What do you think? It seems like a better idea than having to hold down a
key while moving the mouse.

How might I implement this?

I was doing a search on Timer Control to see if I could find something that
might discuss such a delay-before-action method. What I got was a lot of
stopwatch stuff. LOL!

Thanks.

Webbiz


.


Loading