Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Value returned by GetDoubleClickTime API call in user32.dll

Status
Not open for further replies.
Dec 8, 2003
17,047
0
0
GB
I've been trying to find the default value returned by the GetDoubleClickTime API call in user32.dll without much luck.

I've tried Google, MSDN, and a few other places, but nowhere seems to list the default value.

Can anyone help me out with this? I don't have any software installed on my work PC that I could write a test harness with :eek:(

Thanks,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Default value set by Windows is 500 (milliseconds). I got 480 on my PC.

I don't understand what difficulty you face with this function. If you dont have any programming software, you can write a simple macro in Word VBA to get this parameter.

The following macro works fine in Word VBA.
___
[tt]
Private Declare Function GetDoubleClickTime Lib "user32" () As Long
Sub ShowDblClickTime()
MsgBox GetDoubleClickTime
End Sub[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top