joneK
joneK

Reputation: 241

How can i create/add animated icon/image for my application to be show in the taskbar?

This link shows how to make an animated icon in the tray icon :

http://blogs.msdn.com/b/abhinaba/archive/2005/09/12/animation-and-text-in-system-tray-using-c.aspx

But sometimes the user can't see all the icons in the tray icon . I want that when my program is recording while a process runs, the program will be in the TaskBar with animated icon/image . When it stops recording, it will be back to the tray icon regular without animation.

How can i do it ?

Upvotes: 1

Views: 2416

Answers (1)

timothyclifford
timothyclifford

Reputation: 6959

The link you've supplied demonstrates what you're trying to do by the looks.

All you will need to do is listen for and catch the recording event, change the notification icon and start the animation loop. When recording stops you will do the same - change the icon back and start the loop again.

Whether or not a user can see taskbar or tray icons will depend on their personal preferences so I'm not sure this is something you'll have any control over.

If you can tell us what particular part you're getting stuck on, perhaps we can help further.

Upvotes: 1

Related Questions