在程序的任务栏图标中显示进度条
我发现当你在 Windows 7 上做一些有进度条的事情时,比如下载文件。您可以在程序栏中看到应用程序的图标处有文件下载的进度,但是是否可以构建可以执行此操作的应用程序?
看一下我的屏幕截图中的 Internet Explorer 图标: 正在下载... http://img69.imageshack.us/img69/5240/downa。 png
大版本此处。
I was seeing that when you do somethings at Windows 7 that haves a progress bar, things like downloading a file. You can see that in the programs bar, at the icon of the application, there is the progress of the file downloading, but it's possible to build applications that can do this?
Take a look at the Internet Explorer icon at my screenshot:
Downloading... http://img69.imageshack.us/img69/5240/downa.png
Large version here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的。
http://code.msdn.microsoft.com/WindowsAPICodePack
这有很多 Windows Vista/ .NET(C#/VB/等)的 7 个功能,包括任务栏进度条。
Yes.
http://code.msdn.microsoft.com/WindowsAPICodePack
This has a lot of Windows Vista/7 features for .NET (C#/VB/etc.), including Task Bar Progress Bars.
是的,您使用 iTaskbarList3 接口,在该接口上调用 SetProgressState 和 SetProgressValue 方法。
有关如何使用新的 Windows 7 任务栏功能的更详细概述,请参阅 Windows 团队博客。
Yes, you use the iTaskbarList3 interface, on which you call SetProgressState and SetProgressValue methods.
A more detailed overview on how to use the new Windows 7 taskbar functions is on the Windows team blog.