Jump to content

GUICtrlListView max number of lines = 4095?


 Share

Recommended Posts

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

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