Public Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long Private Sub Form_Load() Timer1.Interval = 1000 End SubPrivate Sub Timer1_Timer() If Me.WindowState = 1 Then FlashWindow Me.hwnd, 1000 End If End Sub
Private Sub Form_Load()
Timer1.Interval = 1000
End SubPrivate Sub Timer1_Timer()
If Me.WindowState = 1 Then
FlashWindow Me.hwnd, 1000
End If
End Sub