2
votes

I want to use Task Dialogs in my .NET 4 application but I need to also support Windows XP.

I've googled and there are thousands of implementations for .NET that aren't dependent on Windows Vista or above, but most of the ones I've looked at expose only a small subset of the native Task Dialog API.

The Windows API Code Pack has a good .NET wrapper for the native Task Dialog API, but it requires Vista or above.

I'm looking for a good quality implementation that is roughly on par with the native Task Dialog in terms of features and look and feel. A WPF implementation complete with animations would be great!

Can anyone recommend such a thing based on past experience?

2

2 Answers

3
votes

Try this, this and this. The first one is good enough - it shows original Vista TaskDialog when a program runs on Vista or higher OS, and it shows WPF TaskDialog-like window when it's invoked on WinXP. Note that you can't get original TaskDialog on WinXP because it uses Vista+ features.

-4
votes

Task Dialog is only available on Windows Vista and above, and it has nothing to to with .NET.

On your own link of Task Dialogs API, it's clearly mentioned in the MSDN Library:

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header Commctrl.h (include Commctrl.h)
Library Comctl32.lib
DLL Comctl32.dll version 6

Then you won't find any support API in Windows XP.