A Flashing Form
This code causes the form's TitleBar and the form's TaskBar Window to Flash.
Assumes
Create a Timer control and name it - Timer1
API Declarations
Private Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Rate A Flashing Form
(20(20 Vote))
Private Sub Form_Load()
Timer1.Interval = 300 'Change value depending on the speed of flahing.
End Sub
Private Sub Timer1_Timer()
FlashWindow hwnd, 1
End Sub
A Flashing Form Comments
No comments yet — be the first to post one!
Post a Comment