Animate tray icon while processing

sjlewis picture sjlewis · Mar 29, 2010 · Viewed 9.5k times · Source

How can I animate the tray icon while the main application is processing? I already tried the suggestion here, but the icon does not animate during process. I also tried putting the animation in a separate thread but still no luck.

Answer

ParmesanCodice picture ParmesanCodice · Mar 29, 2010

There's a very good example of an SystemTrayNotifyIcon with Event Generator over at the CodeProject .

I've looked at this project before but didn't end up using it, due to my artistic inabilities, but the example given does the job quite well.