Search code examples
c#.netc++windows-7

How do I code a progress bar for Windows 7 to also update itself on the taskbar?


Windows 7 has an AWESOME new feature that applications can report the progress of the current activity through the status bar. For example, when copying file(s) using Windows Explorer, a progress bar is layered on top of the application icon in the task bar and the progress is shown as it updates.

What is the API for exposing the progress bar? Is there MSDN documentation on it?


Solution

  • There's a good article in MSDN magazine about the new taskbar APIs. And yes, the feature is awesome :-)

    Essentially, it's all about implementing IFileOperation. There's a good article about using it in managed code here.