wxWidgets windows 10 应用的任务栏进度条

wxWidgets windows 10 taskbar progress bar for app

我想使用windows任务栏的进度条来显示正在下载一些资源。我在说这个:

我想显示已完成的百分比。我该怎么做?
我在 C++ 中使用 wxWidgets-3。我在 windows 10 最新版本。

感谢帮助。谢谢 :-).

您想要的功能由特定于 MSW 的 wxTaskBarButton which can (and should, if possible) also be used via a more portable wxAppProgressIndicator 提供,它也针对 macOS 平台实现。