Jump to content

Listview maximum 4096 lines?


Recommended Posts

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
Link to comment
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.

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
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.

Link to comment
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.

Link to comment
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?
Link to comment
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 :">

Edited by Helge
Link to comment
Share on other sites

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
Link to comment
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:
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...