How to use task dialogs on Windows

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
fishnet37222
Experienced Solver
Experienced Solver
Posts: 53
Joined: Sat May 06, 2017 1:40 pm

How to use task dialogs on Windows

Post by fishnet37222 » Tue Mar 30, 2021 3:36 pm

I'm creating an app that will only be targeting Windows and I'd like the message boxes I show to be implemented using task dialogs. I've looked through the documentation and searched the forums and haven't found any guidance on how to do so.

I compiled wxWidgets 3.1.4 using Visual Studio 2019 on Windows 10.
Dave F.

PB
Part Of The Furniture
Part Of The Furniture
Posts: 3042
Joined: Sun Jan 03, 2010 5:45 pm

Re: How to use task dialogs on Windows

Post by PB » Tue Mar 30, 2021 4:26 pm

Did you look into
https://docs.wxwidgets.org/trunk/classw ... ialog.html
and
https://docs.wxwidgets.org/trunk/classw ... ialog.html

They do not offer all features of task dialogs but I think that is as close as you get to a task dialog in wxWidgets.

You can see both in action in the dialogs sample. If this is not enough, you're on your own.

Out of curiosity: What advantages do you see in using task dialogs over a custom wxDialog?

Post Reply