Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than comctl32, prefix the name with the module name and a period.
TaskDialog (comctl32)
.
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:
TaskDialogIndirect - Show a Vista TaskDialog with custom button names and many other features.
4/22/2020 9:46:47 AM - -72.24.140.51
TaskDialogIndirect - Show a Vista TaskDialog with custom button names and many other features.
4/22/2020 9:46:47 AM - -72.24.140.51
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).