.NET Progress bar in taskbar on windows 7

前端 未结 3 1771
暖寄归人
暖寄归人 2021-02-02 10:36

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

相关标签:
3条回答
  • 2021-02-02 11:11

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

    0 讨论(0)
  • 2021-02-02 11:36

    In WPF4 you have

     <Window.TaskbarItemInfo>
            <TaskbarItemInfo> </..>
     </...>
    
    0 讨论(0)
  • 2021-02-02 11:38

    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.

    0 讨论(0)
提交回复
热议问题