Make your own free website on

[an error occurred while processing this directive]
Private Declare Function SetCaretBlinkTime Lib "user32" (ByVal wMSeconds As Long) As Long
Private Declare Function GetCaretBlinkTime Lib "user32" () As Long
Dim nOldBT As Long
Private Sub Form_Load()
    'KPD-Team 2000
    'retrieve the current caret blinktime
    nOldBT = GetCaretBlinkTime
    'set the new caret blinktime
    SetCaretBlinkTime 1
    'When the form is loaded, open a text-editor and check out the caret blinktime
End Sub
Private Sub Form_Unload(Cancel As Integer)
    'restore the old caret blinktime
    SetCaretBlinkTime nOldBT
End Sub

Copyright © 1998-2000, The KPD-Team.
Send mail to with comments about this web site.
This site is located at