Windows API Guide: FindFirstFile Function


Declare Function GetDoubleClickTime Lib "user32.dll" () As Long

Platforms: Win 32s, Win 95/98, Win NT

GetDoubleClickTime determines the maximum time allowed between successive mouse clicks for Windows to interpret it as a double click (along with negligible mouse movement). The maximum time between clicks is given in milliseconds. The function returns the maximum double click time.

Example:

' Display the maximum amount of time between clicks to ' consider the operation a double click. Dim doubletime As Long  ' receives double click time doubletime = GetDoubleClickTime()  ' get the maximum double click time Debug.Print doubletime; "milliseconds are allowed between clicks during a double click."

See Also: SetDoubleClickTime
Category: Mouse

Go back to the alphabetical Function listing.
Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/g/getdoubleclicktime.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net