如何获取应用程序的Windows任务栏按钮以显示进度条的进度
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用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?
您还可以使用TaskbarListComponents开源组件包中的 TTaskbarListProgress 组件。根据 dwywbdbu 许可证。
You can also use TTaskbarListProgress component from the TaskbarListComponents open sourced component pack. Released under the dwywbdbu license.