Sign in to follow this  
Followers 0
jwurmz

GUICtrlListView max number of lines = 4095?

5 posts in this topic

anyone know of a way to bypass the apparent limit of 4095 entries in a ListView control?

CODE
#include <GUIConstants.au3>

GUICreate("Listview", 130, 300)

$listview = GuiCtrlCreateListView("Index|Rnd", 10, 10, 120, 280)

GUISetState()

For $addlistitem = 1 to 10000

$listitem = "#" & $addlistitem & "|" & String(Int(Random(0, 100)))

GUICtrlCreateListViewItem($listitem, $listview)

Next

While 1

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Then ExitLoop

WEnd

GUIDelete()

Exit

Share this post


Link to post
Share on other sites

What limit? What version are you running?

Share this post


Link to post
Share on other sites

What limit? What version are you running?

v3.2.8.1

did you try code? i can't get a listview with more than 4095 entries...

Share this post


Link to post
Share on other sites

Ah! Try the latest version.

Share this post


Link to post
Share on other sites

Ah! Try the latest version.

perfect! thank you.

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