Windows 7 Taskbar in 10 Minutes -- Part I: Progress Bar
- Posted: May 09, 2009 at 2:06 PM
- 15,679 Views
- 2 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- MP4 (iPod, Zune HD)
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
Part I -- ProgressBar and Status:
In the first part of my screencast series I develop an application that allows to
- Show the progress of the applications work in the taskbar.
- Indicate the status (Paused, Normal, No determinate, Error).
- Dynamically change the status based on events.
http://channel9.msdn.com/posts/GLenz/Windows-7-Taskbar-in-10-Minutes-Part-I-Progress-Bar/ . 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
- Allows you to show a clipped Taskbar Preview of your application, on a defined location of your application window.
- Dynamically changes the size of the preview image in the Taskbar.
- Change the preview image to show a custom Icon instead.
- Show a custom Window Peek Bitmap of your application when hovering with the mouse over the Taskbar Preview.
http://channel9.msdn.com/posts/GLenz/Windows-7-Taskbar-in-10-Minutes-Part-IV-Preview-and-Peek/
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
- Creates a custom category for the Jumplist.
- Allows you to add Items to the custom Jumplist category (in this case text files, opened in Notepad when selected).
- Add user tasks to the Jumplist such as opening the calculator or notepad when selected.
- Add a separator to the Jumplist to group items.
http://channel9.msdn.com/posts/GLenz/Windows-7-Taskbar-in-10-Minutes-Part-III-Jumplists/ . 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
- Can indicate the status of your application or provide other useful information (such as online/offline, sign in status, status of your application).
- Dynamically change the icon.
http://channel9.msdn.com/posts/GLenz/Windows-7-Taskbar-in-10-Minutes-Part-II-Icon-Overlay/
The source code is available here.
I hope you found the series of Screencasts useful and to the point
.
Also, check out my blog at
http://blogs.msdn.com/glenz .
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
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 =
Enum.GetValues(typeof(TaskbarButtonProgressState));
and then on the selectedindexchanged of your combobox do:
Taskbar
.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.
Hi
Can we do this for windows XP?
Thanks
Remove this comment
Remove this thread
close