wyDay blog  |  Downloads  |  Buy
Support forum
wyDay blog
wyDay Home

The wyDay blog is where you find all the latest news and tips about our existing products and new products to come.

wyDay blog

July 28th, 2009

Windows 7 will be available for download to MSDN and Technet subscriber in less than 2 weeks. I thought Id introduce a few controls to make Windows 7 development easier for C# and .NET programmers. The controls will be written for .NET 2.0 & Windows Forms, but will obviously be compatible with .NET 2.0, 3.0, 3.5 and the upcoming 4.0.

The first control I want to give you is a way to use the new progress bar in your apps taskbar icon. This is what the new taskbar progress bar looks like when Internet Explorer downloads a file:

Of course, what good is integrating this shiny new behavior into your apps if isnt backward compatible with Windows 2000, XP and Vista? None at all. And since this taskbar behavior is included in wyUpdate & wyBuild 2.2+, backwards compatibility is a must. Heres our Windows 7 Progress Bar running on Windows 2000 Windows 7:

Dont use the Taskbar Progress Bar

Like any new shiny piece of technology everyone wants to add it to their program. The flip side is that most of the times you shouldnt use it. Let me quote the Windows UX guide directly:

Is the progress feedback useful and relevant while using other programs? That is, are users likely to monitor the progress while using other programs, and change their behavior as a result? Such useful and relevant status is usually displayed using a modeless progress dialog box or a dedicated progress page, but not with a busy pointer, activity indicator, or progress bar on a status bar. If the status isn't useful when using other programs, just display the progress feedback directly in the program itself.



In the incorrect examples, the taskbar button progress bars aren't very useful.

Is the task continuous? If the task never completes, there's no need to show its progress. Examples of continuous tasks include antivirus scans and file indexing.


In this example, a continuous task doesn't need to show progress.

By the way, the Windows User Experience Interaction Guidelines is a must read for all Windows Developers. Its a shit name (why not Windows Usability Guide?), but it has quite a few good tips. All I can ask is that you skim it once.

How we use the Taskbar progress bar in wyUpdate & wyBuild

Weve integrated the Windows 7 Taskbar progress bar in both wyBuild & wyUpdate. Heres wyBuild creating updates for Nero Burning ROM:

Heres wyUpdate installing an update:

Further Reading

Get Windows 7 Progress Bar Now

The latest version of the Windows 7 Progress Bar C# source code, example projects in VB.NET and C#, and binaries are available on the open source component page.

If you have any questions, or find any bugs you can report them in the comments or in the wyDay forum.

Subscribe to our blog's RSS Feed or follow Wyatt (CEO of wyDay) on Mastodon (@wyatt@hachyderm.io) to keep up-to-date with our latest posts.