Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

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

Download

Right click “Save as…”

  • Mid Quality WMV (Lo-band, Mobile)
  • MP3 (Audio only)
  • MP4 (iPhone, Android)
  • MP4 (iPhone, Android)
  • High Quality WMV (PC)
  • MP3 (Audio only)
  • MP4 (iPhone, Android)
  • Mid Quality WMV (Lo-band, Mobile)
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.

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

  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.

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

  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.

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

  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.

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 Smiley.

Also, check out my blog at http://blogs.msdn.com/glenz .

 

Tags:

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

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.