Jej7 Posted September 1, 2008 Share Posted September 1, 2008 Translation in English :Hello, me would like to know how to use the dll comctl32.dll of vista to show a taskDialog?Here is what looks like TaskDialog:I think that it is necessary to use the dll comctl32.dll but I do not know how to make.Thank you for your help.Français :Bonjour, je voudrait savoir comment utiliser la dll comctl32.dll de vista pour afficher une taskDialog?Voilà à quoi ressemble une TaskDialog :Je pense qu'il faut utiliser la dll comctl32.dll mais je ne sais pas comment faire.Merci pour votre aide. Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 1, 2008 Share Posted September 1, 2008 DllCall() et http://msdn.microsoft.com/en-us/library/bb760540(VS.85).aspx ? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
James Posted September 1, 2008 Share Posted September 1, 2008 Good luck! I tried this Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
monoceres Posted September 1, 2008 Share Posted September 1, 2008 Just a quick demo, I'm sure you can figure the rest out for yourself! $struct=DllStructCreate("wchar string[255]") DllStructSetData($struct,"string","Hello") $struct2=DllStructCreate("wchar string[255]") DllStructSetData($struct2,"string","This is a sample TaskDialog") DllCall("comctl32.dll","int","TaskDialog","hwnd",Chr(0),"int",Chr(0),"ptr",DllStructGetPtr($struct),"ptr",DllStructGetPtr($struct2),"ptr",Chr(0),"int",0,"ptr",Chr(0),"ptr*",Chr(0)) Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Jej7 Posted September 2, 2008 Author Share Posted September 2, 2008 Thank you very much !Thanks to the code of monoceres I managed to personalize TaskDialog.$struct=DllStructCreate("wchar string[255]") DllStructSetData($struct,"string","Hello") $struct2=DllStructCreate("wchar string[255]") DllStructSetData($struct2,"string","This is a sample TaskDialog") $struct3=DllStructCreate("wchar string[255]") DllStructSetData($struct3,"string","The Text !!!!") DllCall("comctl32.dll","int","TaskDialog","hwnd",Chr(0),"int",Chr(0),"ptr",DllStructGetPtr($struct),"ptr",DllStructGetPtr($struct2),"ptr",DllStructGetPtr($struct3),"int",32,"ptr",Chr(0),"ptr*",Chr(0))But I would like to develop her(it) more for which look like GUI :The resemblance is striking! The functions are on this page but I do not think which are in the dll : http://msdn.microsoft.com/en-us/library/bb787473(VS.85).aspxIf it is not possible I can try to create my equivalent function. Link to comment Share on other sites More sharing options...
James Posted September 2, 2008 Share Posted September 2, 2008 Just a quick demo, I'm sure you can figure the rest out for yourself! $struct=DllStructCreate("wchar string[255]") DllStructSetData($struct,"string","Hello") $struct2=DllStructCreate("wchar string[255]") DllStructSetData($struct2,"string","This is a sample TaskDialog") DllCall("comctl32.dll","int","TaskDialog","hwnd",Chr(0),"int",Chr(0),"ptr",DllStructGetPtr($struct),"ptr",DllStructGetPtr($struct2),"ptr",Chr(0),"int",0,"ptr",Chr(0),"ptr*",Chr(0)) Alright smart-arse Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
monoceres Posted September 2, 2008 Share Posted September 2, 2008 Alright smart-arse Well I just had to try it when you said it was hard The functions are on this page but I do not think which are in the dll : http://msdn.microsoft.com/en-us/library/bb787473(VS.85).aspxIf it is not possible I can try to create my equivalent function.That is not a function, it's a struct that you're supposed to fill your data into and pass to the TaskDialogFunction().Since this look like UDF material I look into it and post an example later! Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Jej7 Posted September 3, 2008 Author Share Posted September 3, 2008 ok thank's ! I succeeded has to create one HUI and finally I continued with this method. I made a version alpha of my future program, I shall put him on-line in a future version. Thank you for your help, that can always be of use to all the world. Link to comment Share on other sites More sharing options...
ProgAndy Posted September 3, 2008 Share Posted September 3, 2008 I Made an UDF http://www.autoitscript.com/forum/index.php?showtopic=79672 *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now