I'm looking for tips on the best way to implement a "repeater" behavior when a user clicks on a command button and holds down the left mouse key. I would like to emulate the "repeat" behavior that occurs when a user presses (and holds down) the Enter key on a command button causing the button's Click method to repeatedly fire.
Specifically, I'm looking for suggestions on:
1. A good value for a delay factor before entering repeat mode. Is there a sysmetric() value I can use or should I use a _dblclick or _incseek instead?
2. A good "delay" value for throttling repeated calls to a control's Click method. Is there a sysmetric() value for this type of behavior usually task specific? The latter seems reasonable to me - curious how others handle this.
3. Is anyone implementing this type of behavior using an acceleration strategy - i.e. where the longer a button is depressed, the smaller the delay between repeated Click requests?
4. Other ideas?
Thanks,
Malcolm