Moderators Melba23 Posted June 21, 2013 Moderators Posted June 21, 2013 trancexx, people asking "why" unfortunatly have the lack of knowledge to give you sensible answerAs you do not seem to have a reasonable answer either, perhaps you should keep your snide comments to yourself. I fully realise there is absolutely no chance of you doing so in the foreseeable future, but there is no harm in asking - I mean, pigs might fly one day as well. 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
trancexx Posted June 21, 2013 Posted June 21, 2013 I gave the answer. I fully realise there is absolutely no chance of you doing so in the foreseeable future, but there is no harm in asking - I mean, pigs might fly one day as well. M23 Good. I'm glad you got that part right. ♡♡♡ . eMyvnE
AdmiralAlkex Posted June 21, 2013 Posted June 21, 2013 AutoIt is currenly very low on "quality", so consider not using the stuff you don't really need because it'll be very long before that's changed.Oh how I wish that wasn't true, but with brain drain from the developer group and development on the language seemingly stopped...So many ideas and possibilities just lingering there in peoples minds, just waiting for something that will make it seem like it wouldn't be a total waste to explore them.The future is at risk, why doesn't anybody do something? Anything?Please. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
adom Posted June 22, 2013 Author Posted June 22, 2013 @trancexx Well, as an engineer I had the idea to ask if there are bad consequences by changing it. In this time I think it is no problem to change it to 40 or more. But to increase it too much witout a need had not to be done. So what. It works now for me. I tried to get a possibility to change this Global Const by my code if needed. But there is no way it seems. Now I use it with int 40 and it works. What ist really bad is the Return Val of _GUICtrlListView_Create() in case of failed is"0". @ERROR is set but no lead to the problem "increasing setted Val". So I hope this tread will help others to avoid long researches. Therefor I want to thank all constructive posts. Here again the facts for using _GUICtrlListView_Create() with several Child-GUIS increasing 16 Child-GUI-Instances: _GUICtrlListView_Create() returns "0" when generating list fails. _GUICtrlListView_Create() allows by default only 16 Child-GUIs to place on it. The reason is the Sub-function "#include "UDFGlobalID.au3" which is included in _GUICtrlListView_Create() In "UDFGlobalID.au3" is a definition: "Global Const $_UDF_GlobalID_MAX_WIN = 16 ; original = 16". This defines that this func will only scan in a loop only 16 instances for WHNDs fitting. If you have more the 16 targets the others will not have a ListView placed. _GUICtrlListView_Create() will return "0". Solution "Global Const $_UDF_GlobalID_MAX_WIN = [Val you really max want to have] (recommended not higher you really need to have because the loop always loops for this val Keep in mind that "UDFGlobalID.au3" is used in a handful other scripts by default. So do a careful testing of your application. Do it on your own risk! This solution in NOT an official forum solution and is not commited with the holder of Autoit Knowledge. Just my way to solve it. Thanks to BrewmanH for providing the lead. Have a nice work. Thanks! :bye: Greetings Andrew
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