Display progress bar in the program's task bar icon
I was seeing that when you do somethings at Windows 7 that haves a progress bar, things like downloading a file. You can see that in the programs bar, at the icon of the application, there is the progress of the file downloading, but it's possible to build applications that can do this?
Take a look at the Internet Explorer icon 开发者_JS百科at my screenshot: Downloading... http://img69.imageshack.us/img69/5240/downa.png
Large version here.
Yes.
http://code.msdn.microsoft.com/WindowsAPICodePack
This has a lot of Windows Vista/7 features for .NET (C#/VB/etc.), including Task Bar Progress Bars.
Yes, you use the iTaskbarList3 interface, on which you call SetProgressState and SetProgressValue methods.
A more detailed overview on how to use the new Windows 7 taskbar functions is on the Windows team blog.
精彩评论