在程序的任务栏图标中显示进度条

发布于 2024-08-10 19:22:15 字数 382 浏览 3 评论 0原文

我发现当你在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

﹂绝世的画 2024-08-17 19:22:15

是的。

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.

夜访吸血鬼 2024-08-17 19:22:15

是的,您使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文