randallc Posted June 16, 2005 Share Posted June 16, 2005 (edited) Hi guys, I have tried the forum search and help file. When I load lines of a text file into a listview, it seems to limit to 4096 lines . 1. Is this correct? 2. Is there a size limitation? 3. Does listbox, combobox, etc have same limit? Best, randall Listview maximum 4096 lines? Is there a max size or num items? Edited June 16, 2005 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
buzz44 Posted June 16, 2005 Share Posted June 16, 2005 (edited) A1. Yes. A2. Yes, 4096. Or do you mean the width/height of the list view? A3. Yes, I think. Look in the help file at "AutoIt3 limits/defaults". Edited June 16, 2005 by Burrup qq Link to comment Share on other sites More sharing options...
jpm Posted June 16, 2005 Share Posted June 16, 2005 Hi guys,I have tried the forum search and help file.When I load lines of a text file into a listview, it seems to limit to 4096 lines .1. Is this correct?2. Is there a size limitation?3. Does listbox, combobox, etc have same limit?Best, randallListview maximum 4096 lines?Is there a max size or num items?<{POST_SNAPBACK}>certainly a little bit less as each listviewitem is a control and the maximorum number of controls is 4093. See AutoIt limits in the appendix. For listbox/combobox as you are adding with GuiCtrlSetData, you will reach the Windows limits that I am not knowing. Link to comment Share on other sites More sharing options...
blindwig Posted August 3, 2005 Share Posted August 3, 2005 What is the reason for the 4096 control limit? Is that an AutoIt limit or a windows limit? I'm making a GUI with a ListView or a TreeView (haven't decided which yet) and I see myself using more than 4096 lines, and since each line counts as a control... My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions Link to comment Share on other sites More sharing options...
jpm Posted August 3, 2005 Share Posted August 3, 2005 What is the reason for the 4096 control limit? Is that an AutoIt limit or a windows limit?I'm making a GUI with a ListView or a TreeView (haven't decided which yet) and I see myself using more than 4096 lines, and since each line counts as a control...<{POST_SNAPBACK}>Each row is a control and there is a limit of 4093 controls.I definetly design the GUI for small application not for Windows replacement. Link to comment Share on other sites More sharing options...
Helge Posted August 3, 2005 Share Posted August 3, 2005 I've always wondered if this limit is present with the normal list-control,or if it's only one "big" control. Anyone who knows, or mind checking ?I'm unable to test this myself at the moment. Stupid Macs. Link to comment Share on other sites More sharing options...
jpm Posted August 3, 2005 Share Posted August 3, 2005 I've always wondered if this limit is present with the normal list-control,or if it's only one "big" control. Anyone who knows, or mind checking ?I'm unable to test this myself at the moment. Stupid Macs.<{POST_SNAPBACK}>did you read my above post? Link to comment Share on other sites More sharing options...
Helge Posted August 3, 2005 Share Posted August 3, 2005 (edited) Yes I did read your post, jpm.However, as you quoted a post which only mentioned ListView and Treeview,I thought you were only refering to those. That's why I asked specificallyabout the normal List-control. Well well, question answered.Edit : TypoEdit II : Sorry jpm.. I didn't notice you talked about listboxes earlier.You may now shoot me :"> Edited August 3, 2005 by Helge Link to comment Share on other sites More sharing options...
layer Posted August 3, 2005 Share Posted August 3, 2005 (edited) Perhaps there is a message we can send, to expand (I really have no clue, just using my brain ) the amount of items in a list-view ? Because isn't there a GUICtrlSendMsg for the edit control to allow more characters inside an edit control ? Or will there be buffer problems or something ? Just thinking out loud... Edited August 3, 2005 by layer FootbaG Link to comment Share on other sites More sharing options...
jpm Posted August 5, 2005 Share Posted August 5, 2005 Yes I did read your post, jpm.However, as you quoted a post which only mentioned ListView and Treeview,I thought you were only refering to those. That's why I asked specificallyabout the normal List-control. Well well, question answered.Edit : TypoEdit II : Sorry jpm.. I didn't notice you talked about listboxes earlier.You may now shoot me :"> <{POST_SNAPBACK}>I try to never shoot I am not a good hunter ... 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