Option ExplicitContoh penggunaan:
Private Declare Function SetDoubleClickTime Lib "user32" (ByVal wCount As Long) As Long
Public Function ChangeDBClkTime(Time As Integer)
SetDoubleClickTime (Time)
End Function
Private Sub Command1_Click()
Call ChangeDBClkTime(1000)
End Sub