开发者

.NET Progress bar in taskbar on windows 7

开发者 https://www.devze.com 2023-01-24 19:29 出处:网络
How can I make my winforms app to show its progress bar in the icon of the taskbar on windows 7? e.g: chrome with downloads.开发者_运维百科

How can I make my winforms app to show its progress bar in the icon of the taskbar on windows 7?

e.g: chrome with downloads.开发者_运维百科

Thanks!!

Diego


You have to download the Windows API Code Pack for .NET and use those components to interact with Windows 7 (assuming you're not using .NET 4.0).

If you are using .NET 4.0, you should include the System.Windows.Shell namespace to gain access to the Windows 7 task bar features.


In WPF4 you have

 <Window.TaskbarItemInfo>
        <TaskbarItemInfo> </..>
 </...>


You can use Windows® API Code Pack. Demo code is available at Windows 7 Taskbar Dynamic Overlay Icons and Progress Bars

0

精彩评论

暂无评论...
验证码 换一张
取 消