.NET Progress bar in taskbar on windows 7

Diego picture Diego · Nov 11, 2010 · Viewed 7.8k times · Source

How can I make my winforms app to show its progress bar in the icon of the taskbar on windows 7?

e.g: chrome with downloads.

Thanks!!

Diego

Answer

Justin Niessner picture Justin Niessner · Nov 11, 2010

You have to download the Windows API Code Pack for .NET and use those components to interact with Windows 7 (assuming you're not using .NET 4.0).

If you are using .NET 4.0, you should include the System.Windows.Shell namespace to gain access to the Windows 7 task bar features.