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

Programming the Windows 7 Taskbar – Using the Taskbar Button Overlay Icons and Progress Bars

15 minutes, 9 seconds


Right click “Save as…”

This is the second screencast in a series of Windows 7 screencasts for showing developers how to use the taskbar to Light Up their applications on Windows 7.

This screencast explains how to use the Win 32 API to control the taskbar's Overlay Icons and Progress bar. Both taskbar features exists to compensate for the deprecated Notification Area (AKA as Sys-Try)

The code shown in this screencast is available to download. The other screencasts in this series are:


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • I found this very interesting and immediately decided to try and add the progress bars to an installer application I have that runs with elevated priviliges (because it is installing a device driver). I was rather surprised when it didn't work. So I tried running your application by right clicking and "Run as administrator". This didn't work either - there was no progress bar. Is this a feature of the taskbar that it is disabled when running as administrator or is there some gotcha. This was on an x64 system and the application was compiled as x64.


  • The Short story: The answer is yes. Taskbar is part of your explorer.exe process, which run as standard user. If you run as admin, the tasbkar manager can't cross the mitigation boundry and therefore the messages are not sent (or recieved) by the elevated running application.


    The Long story:


    Please work through the User Interface Privilege Isolation lab on 9: http://channel9.msdn.com/learn/courses/Windows7/UIPI


    Please also see our general Windows 7 Developer Training on 9: http://channel9.msdn.com/learn/courses/Windows7


  • Many thanks Yochay - that is very helpful indeed - I will work through the lab you suggested. In general, these videos are excellent, I hope we will see many more of them.

  • Great video!


    Sasha, Yochay: Are there Get equivalents of the SetOverlayIcon, SetProgressValue and SetProgressState?



Remove this comment

Remove this thread


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.