1

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 ?

4

1 回答 1

1

您提供的链接通过外观展示了您正在尝试做的事情。

您需要做的就是监听并捕捉录制事件,更改通知图标并启动动画循环。当录制停止时,您将执行相同的操作 - 将图标变回并再次开始循环。

用户是否可以看到任务栏或托盘图标将取决于他们的个人喜好,所以我不确定这是否是您可以控制的。

如果您能告诉我们您卡在哪个特定部分,也许我们可以提供进一步的帮助。

于 2013-06-07T12:42:38.187 回答