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 ?