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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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?
回答2:
You can also use TTaskbarListProgress component from the TaskbarListComponents open sourced component pack. Released under the dwywbdbu license.