Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get application's Windows taskbar button to show progress of progress bar

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?

like image 318
Seth Carnegie Avatar asked Dec 26 '11 06:12

Seth Carnegie


2 Answers

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?

like image 59
Wael Dalloul Avatar answered Sep 18 '22 06:09

Wael Dalloul


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

like image 27
gabr Avatar answered Sep 20 '22 06:09

gabr