Desktop Functions: Smart Device Functions:
|
taskdialog (comctl32)
C# Signature:
[DllImport("comctl32.dll", CharSet = CharSet.Unicode, EntryPoint="TaskDialog")] 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:It only works with forms applications, wpf applications give a entry point not found exception. To make it work with wpf applications you need to add the following to your app.manifest under asmv1:assembly
<dependency> Sample Code:Please add some! Please edit this page!Do you have...
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). |
|