如何获取应用程序的Windows任务栏按钮来显示进度条的进度 [英] How to get application's Windows taskbar button to show progress of progress bar
问题描述
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?
推荐答案
可以很容易地完成使用 ITaskList3 COM界面。
It can be easily accomplished using the ITaskList3 COM Interface.
要在Delphi中使用它,请查看以下链接:
有趣的Windows 7任务栏
For using it in Delphi check the following link: Fun with the Windows 7 Taskbar
另请检查此链接以了解描述ITaskList3提供的功能的完整文章
Windows 7:如何在任务栏上显示进度条图标?
Also Check this link for complete article describing the features provided by ITaskList3 Windows 7: How to display progress bar on taskbar icon?
这篇关于如何获取应用程序的Windows任务栏按钮来显示进度条的进度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!