Search code examples
windowswindows-10wxwidgets

wxWidgets windows 10 taskbar progress bar for app


I want to use the windows taskbar's progress bar to show that some resources are being downloaded. I am talking about this:

enter image description

I want to show what percentage has been done. How can I do that?
I am using wxWidgets-3 with C++. I am on windows 10 latest version.

Help appreciated. Thank you :-).


Solution

  • The functionality you want is provided by MSW-specific wxTaskBarButton which can (and should, if possible) also be used via a more portable wxAppProgressIndicator which is also implemented for macOS platform.