处理时对任务栏图标进行动画处理 [英] Animate tray icon while processing

查看:175
本文介绍了处理时对任务栏图标进行动画处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当主应用程序正在处理时,如何为任务栏图标设置动画?我已经在此处中尝试了该建议,但是该图标在处理过程中没有动画。我还尝试将动画放在单独的线程中,但仍然没有运气。

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.

推荐答案

有一个很好的带有事件生成器的SystemTrayNotifyIcon 在CodeProject上结束。

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.

这篇关于处理时对任务栏图标进行动画处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆