how to make blinking minimized form in title bar

I am working on a chat room system one a user minimizes a chat down to the task bar I want to notify them by sound (i have this) and blinking of the title in the taskbar.  How do i Mka eit blink and then stop

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Put a timer and blink for certain time and then stop
ocsscottAuthor Commented:
how do i set the titlebar to blink?
Not the titlebar, but either icon or the minimized form header
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

ocsscottAuthor Commented:
yes the minimized form header, how do i make that blink?

what is the code for that
for example
toggle the icon in the form caption. Or toggle the text
ocsscottAuthor Commented:
will toggleing the text make the button blink?

in yahoo a minimized chat will make the title bar highlight and go normal thus blinking is this the same?  if so how to code such a thing?
It will definetely attract  hte attention

If you want to change picture ( like blinking light)

Put it in the timer event

Static iImage As Integer

iImage = iImage + 1
If iImage > 2 Then iImage = 1
Me.Icon = ImageList1.ListImages(iImage).Picture

Caption change
Static iImage As Integer

iImage = iImage + 1
If iImage > 2 Then iImage = 1

select case image
   Case 1
       Me.text = "bla"
   Case 2
       Me.text = "bla- bla-bla"
end select

That is my old piece of code in VB6 - it must be the same or very close in VB.NET

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ocsscottAuthor Commented:
i think this vb6 code is exactly what I want...

do any of you know what this code would look like in

Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal binvert As Long) As Long

Private Sub Timer1_Timer()
    FlashWindow Form1.hwnd, True
End Sub
ocsscottAuthor Commented:
never mind I got this api figured out and it is exactly what I wanted.

thanks for all your help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.