c.haslam Posted April 12, 2018 Posted April 12, 2018 (edited) I find _GDIPlus_ImageClone in the Help, but neither in SciTe auto-complete nor in GDIPlus.au3 Shoud this be reported in Trac? By searching the forum (and changing the name of the first arguement ot DLLCall, the code appears to be: Func _GDIPlus_ImageClone($hImage) Local $aResult = DllCall($__g_hGDIPDll, "uint", "GdipCloneImage", "handle", $hImage, "int*", 0) If @error Then Return SetError(@error, @extended, 0) Return $aResult[2] EndFunc ;==>_GDIPlus_ImageClone Edited April 12, 2018 by c.haslam Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
Moderators Melba23 Posted April 12, 2018 Moderators Posted April 12, 2018 c.haslam, That function is in my copy of v3.3.14.5 GDIPlus.au3 at line #2359. I agree it is not in the SciTE autocomplete list, so you might want to open a ticket for that. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Developers Jos Posted April 12, 2018 Developers Posted April 12, 2018 It is in my setup so that means that the AutoIt3 installer properly delivered the appropriate au3.api file as it is located on line 1028. Wondering why you guys don't have it. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
UEZ Posted April 12, 2018 Posted April 12, 2018 (edited) I got it incl. auto complete, too. v3.3.14.5: GDIPlus.au3 (line 2359) Func _GDIPlus_ImageClone($hImage) Local $aResult = DllCall($__g_hGDIPDll, "int", "GdipCloneImage", "handle", $hImage, "handle*", 0) If @error Then Return SetError(@error, @extended, 0) If $aResult[0] Then Return SetError(10, $aResult[0], 0) Return $aResult[2] EndFunc ;==>_GDIPlus_ImageClone Edited April 12, 2018 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
c.haslam Posted April 12, 2018 Author Posted April 12, 2018 My error: it appears to be missing from 3.3.15.0, but is in my 3.3.14.5. I am debugging using my cDebug.au3 which requires 3.3.15.0 (because it does maps). There is no warning about "use maps at your own risk" in 3.3.15.0 so I went ahead and incorporated reporting maps into my cDebug.au3. From Melb23, I understand that there will be a warning about maps being experimental in 3.3.15.1. Perhaps I am going to have to create a stream of cDebug.au3 without maps. Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
Moderators Melba23 Posted April 12, 2018 Moderators Posted April 12, 2018 Jos, If it is missing in 3.3.15.# then it might well explain why my SciTE installation is missing it - I installed the (limited-availability, so others please do not ask) pre-release 3.3.15.1 after the 3.3.14.5 release and so presumably overwrote the release files. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Developers Jos Posted April 12, 2018 Developers Posted April 12, 2018 @Melba23, Yeap, that will do it as the AutoIt3 installer will always update the current files and deliver a copy in de C:\Program Files (x86)\AutoIt3\SciTE\Defs tree. Don't remember why I removed that option from SciTEConfig back in 2012, which allowed you to swap between Beta and Production definition files from SciTEConfig. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
c.haslam Posted April 12, 2018 Author Posted April 12, 2018 I did wonder at the time! There must have been a good reason. Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
c.haslam Posted April 12, 2018 Author Posted April 12, 2018 I have added a cDebug no maps.au3 stream. Because cDebug is very modular, I could remove the maps stuff with a few #CS .. $CE blocks. cDebug seems to be pretty bug free, so I should not get confused between the two streams. Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard
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