如何获取应用程序的Windows任务栏按钮以显示进度条的进度

发布于 2024-12-22 21:05:19 字数 142 浏览 2 评论 0原文

Windows 7(或者是 Vista?)中引入的功能之一是应用程序的任务栏按钮能够显示该应用程序中进度条的进度。当我创建表单并在其上放置进度条时,它不会显示在任务栏按钮中,因此我认为这不会自动完成。如何让 Windows 7 在应用程序的任务栏按钮上显示进度条的进度?

One of the features introduced in Windows 7 (or was it Vista?) is the capability of the taskbar button of an application to show the progress of a progress bar in that application. When I create a form and place a progress bar on it, it doesn't show up in the taskbar button, so I assume this isn't done automatically. How can I get Windows 7 to show the progress of a progress bar on the application's taskbar button?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

单身情人 2024-12-29 21:05:19

使用ITaskList3 COM 接口可以轻松完成此操作。

要在 Delphi 中使用它,请检查以下链接:
Windows 7 任务栏的乐趣

另请查看此链接以获取描述 ITaskList3 提供的功能的完整文章
Windows 7:如何在任务栏图标上显示进度条?

It can be easily accomplished using the ITaskList3 COM Interface.

For using it in Delphi check the following link:
Fun with the Windows 7 Taskbar

Also Check this link for complete article describing the features provided by ITaskList3
Windows 7: How to display progress bar on taskbar icon?

我是有多爱你 2024-12-29 21:05:19

您还可以使用TaskbarListComponents开源组件包中的 TTaskbarListProgress 组件。根据 dwywbdbu 许可证。

You can also use TTaskbarListProgress component from the TaskbarListComponents open sourced component pack. Released under the dwywbdbu license.

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