﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2126	_ArrayDisplay not able to display all elements of an array	BrewManNH	guinness	"There appears to be an undocumented change to _ArrayDisplay since at least 3.3.8.0, either the wrong version was put into the Array.au3 file or it was changed since 3.3.6.1 without being mentioned. The version in the latest release (and the 3.3.9.0 beta) will not display all of the elements in an array if the array has more than 65,530 elements. 

The older version didn't have this limitation because this code: 
{{{
; Fill listview
Local $aItem
For $i = 0 To $iUBound
	If GUICtrlCreateListViewItem($avArrayText[$i], $hListView) = 0 Then
		; use GUICtrlSendMsg() to overcome AutoIt limitation
		$aItem = StringSplit($avArrayText[$i], $sSeparator)
		DllStructSetData($tBuffer, ""Text"", $aItem[1])
			; Add listview item
		DllStructSetData($tItem, ""Item"", $i)
		DllStructSetData($tItem, ""SubItem"", 0)
		DllStructSetData($tItem, ""Mask"", $iAddMask)
		GUICtrlSendMsg($hListView, $_ARRAYCONSTANT_LVM_INSERTITEMW, 0, $pItem)
			; Set listview subitem text
		DllStructSetData($tItem, ""Mask"", $_ARRAYCONSTANT_LVIF_TEXT)
		For $j = 2 To $aItem[0]
			DllStructSetData($tBuffer, ""Text"", $aItem[$j])
			DllStructSetData($tItem, ""SubItem"", $j - 1)
			GUICtrlSendMsg($hListView, $_ARRAYCONSTANT_LVM_SETITEMW, 0, $pItem)
		Next
	EndIf
Next
}}}
Has been replaced by this code:

{{{
; Fill listview
For $i = 0 To $iUBound
	GUICtrlCreateListViewItem($avArrayText[$i], $hListView)
Next
}}}
Which, as you can see, uses the native function to create the LV items, which is limited by the number of Control IDs available to do so.

Just wondering if this is as intended or if there is a problem to report."	Bug	closed	3.3.9.1	Standard UDFs	3.3.8.0	None	Completed		
