|
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
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@allapi.net
'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
|
|