讓標題欄不停閃爍 (VB)
Option Explicit
Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Private Sub Form_Load()
Timer1.Enabled = True
Timer1.Interval = 2000
End Sub
Private Sub Timer1_Timer()
Call FlashWindow(Me.hwnd, True)
End Sub
如有錯誤 歡迎指正