I’ve always missed the proper Task Dialog Functions for Windows Applications in Xojo.
If your application has to ask the user for a choice of actions/tasks, this is what a native (Task)Dialog should look like:
The required Declares are a bit tricky - but here you are: This example project shows how you can do this without any Plugins required. The Declares are ready for both 32Bit and 64Bit Builds.
Some convenience Methods are provided for the most often used Task Dialogs. The Advanced Dialog lets you explore all the settings.
It falls back to MessageBox/MessageDialog, if the OS you’re building for doesn’t support TaskDialogs.
Also provided are convenience methods for often used MessageBoxes, which use the Task Dialog API if available, and otherwise fallback to Xojo’s standard MsgBox.