Test two time values for double-click timing.
Source position: intuition.pas line 3204
function DoubleClick( |
SSeconds: LongWord; |
SMicros: LongWord; |
CSeconds: LongWord; |
CMicros: LongWord |
):LongBool; |
SSeconds |
|
The timestamp value describing the start of the double-click time period you are considering |
SMicros |
|
Microseconds of start |
CSeconds |
|
The timestamp value describing the end of the double-click time period you are considering |
CMicros |
|
Microsecond of end |
If the difference between the supplied timestamp values is within the double-click time range in the current set of Preferences, this function returns True, else it returns False
Compares the difference in the time values with the double-click timeout range that the user has set (using the "Preferences" tool) or some other program has configured into the system. If the difference between the specified time values is within the current double-click time range, this function returns True, else it returns False.
These time values can be found in input events and IDCMP messages. The time values are not perfect; however, they are precise enough for nearly all applications.
|
Get the current time values. |