GetDoubleClickTime function

Retrieves the current 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 click of a double-click. The maximum double-click time is 5000 milliseconds.

Syntax

UINT GetDoubleClickTime(

);

Parameters

This function has no parameters.

Return Value

Type: UINT

The return value specifies the current double-click time, in milliseconds. The maximum return value is 5000 milliseconds.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll

See Also

Conceptual

Mouse Input

Reference

SetDoubleClickTime