TaskDialog (comctl32)
Last changed: -72.24.140.51

.
Summary
TaskDialog - Show a Windows Vista Task Dialog - like messagebox but much much better.

C# Signature:

[DllImport("comctl32.dll", CharSet = CharSet.Unicode,  EntryPoint="TaskDialog")]
static extern int TaskDialog(IntPtr hWndParent, IntPtr hInstance, String pszWindowTitle, String pszMainInstruction, String pszContent, int dwCommonButtons, IntPtr pszIcon, out int pnButton);

VB Signature:

Public Declare Auto Function TaskDialog Lib "comctl32.dll" (ByVal hWnd As IntPtr, ByVal hInstance As IntPtr, ByVal WindowTitle As String, ByVal MainInstruction As String, ByVal Content As String, ByVal CommonButton As Integer, ByVal DialogIcon As Integer, ByRef PushedButton As Integer) As Integer

User-Defined Types:

None.

Alternative Managed API:

A full wrapper for Vista's TaskDialog can be found here:

http://code.msdn.microsoft.com/TaskDialogforWinForm

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
TaskDialog on MSDN