Blinking Title Bar

By | 2002-06-01

Want Attention? Let the title bar of your program blink!

Original Author: oXidizer

API Declarations

Code

'***Add a timer (timer1) to your form... paste the code below to the global declarations!
'***Set the timer interval to 250
Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Private Sub Timer1_Timer()
  Call FlashWindow(Form1.hwnd, True)
End Sub

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.