4

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.

Community
  • 1
  • 1
sjlewis
  • 780
  • 2
  • 13
  • 25

2 Answers2

6

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.

ParmesanCodice
  • 5,017
  • 1
  • 23
  • 20
0

Take a look at http://www.codeproject.com/KB/shell/IconAnimation.aspx and http://www.c-sharpcorner.com/UploadFile/nkumar/AnimateSysteminCSharp11292005235157PM/AnimateSysteminCSharp.aspx for a more recent example.

Richard
  • 1,252
  • 12
  • 23
  • http://www.codeproject.com/KB/shell/IconAnimation.aspx link points toward a VC/Win32 example which the OP might not be interested in. – KMån Mar 29 '10 at 09:59