Sign in to follow this  
Followers 0
randallc

Listview maximum 4096 lines?

10 posts in this topic

#1 ·  Posted (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 by randallc

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

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?

<{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.

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

#8 ·  Posted (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 specifically

about the normal List-control. Well well, question answered.

Edit : Typo

Edit II : Sorry jpm.. I didn't notice you talked about listboxes earlier.

You may now shoot me :">

Edited by Helge

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Perhaps there is a message we can send, to expand (I really have no clue, just using my brain :whistle:) 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 by layer

FootbaG

Share this post


Link to post
Share on other sites

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 specifically

about the normal List-control. Well well, question answered.

Edit : Typo

Edit 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 ... :whistle:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0