SetDoubleClickTime

2.x

  void SetDoubleClickTime(uInterval)    
  UINT uInterval; /* double-click interval, */  

The SetDoubleClickTime function sets the double-click time for the mouse. A double-click is a series of two clicks of the mouse button, the second occurring within a specified time after the first. The double-click time is the maximum number of milliseconds that may occur between the first and second clicks of a double-click.

Parameters

uInterval

Specifies the number of milliseconds that can occur between double-clicks.

Return Value

This function does not return a value.

Comments

If the uInterval parameter is zero, Windows uses the default double-click time of 500 milliseconds.

The SetDoubleClickTime function alters the double-click time for all windows in the system.

See Also

GetDoubleClickTime