Test two time values for double-click timing.
Source position: intuition.pas line 4094
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. |