Windows 7 Taskbar in 10 Minutes -- Part I: Progress Bar

Play Windows 7 Taskbar in 10 Minutes -- Part I: Progress Bar
Sign in to queue


In the first part of my Screencast series I will show you how to implement the progress and status information for the Windows7 taskbar.

Part I -- ProgressBar and Status:
In the first part of my screencast series I develop an application that allows to

  1. Show the progress of the applications work in the taskbar.
  2. Indicate the status (Paused, Normal, No determinate, Error).
  3. Dynamically change the status based on events. . The source code is available here .

The Windows API Code Pack can be downloaded here.
The other parts of the screencast series can be wonloaded @

Part IV -- Preview and Window Peek:  
In the last part of the screencast series I show you how to develop an application that

  1. Allows you to show a clipped Taskbar Preview of your application, on a defined location of your application window.
  2. Dynamically changes the size of the preview image in the Taskbar.
  3. Change the preview image to show a custom Icon instead.
  4. Show a custom Window Peek Bitmap of your application when hovering with the mouse over the Taskbar Preview.
The source code is available here.
You can download the managed wrappers for the Windows 7 API from the Vista Bridge web page.

Part III -- JumpList:
In this part I show you how to develop an application that

  1. Creates a custom category for the Jumplist.
  2. Allows you to add Items to the custom Jumplist category (in this case text files, opened in Notepad when selected).
  3. Add user tasks to the Jumplist such as opening the calculator or notepad when selected.
  4. Add a separator to the Jumplist to group items. . The source code is available here.

Part II -- Icon Overlay:
In this part I show you how to implement custom Icon Overlays in the taskbar indicating the happiness (happy/unhappy) of your application. In your applications you can use this to

  1. Can indicate the status of your application or provide other useful information (such as online/offline, sign in status, status of your application).
  2. Dynamically change the icon.

The source code is available here.

I hope you found the series of Screencasts useful and to the point Smiley.

Also, check out my blog at .




Right click to download this episode

The Discussion

  • User profile image

    If I may be so bold as to suggest a somewhat more solid approach to your enum values sir.

    On form initialization do:


    comboBox1.DataSource =



    and then on the selectedindexchanged of your combobox do:




    .ProgressBar.State = (TaskbarButtonProgressState)comboBox1.SelectedValue;



    The only real difference being that future changes to this enum, which normally would not be under my direct change control, would not cause the code to be rewritten or revisited in any way other than recompile with new referenced assemblies or projects.

    It's also faster and safer to code (than human typed strings, assuming you are human). 

    Just as a way to avoid erring. Which I personally at least do enough of.


    Nice introductory tutorial to the taskbar, and works like a charm. Pity the resolution even in high wma/wmv doesnt allow one to see the actual code really well.

  • User profile image



    Can we do this for windows XP?



Add Your 2 Cents