in reply to Size limit of Hlist v. Listbox

You might have better luck asking a more cogent question wherein you give sample code and more context such as what exactly you're trying to do. (Is this in a web page? Is this with Tk?) See How (Not) To Ask A Question.

(Likewise that's not a "buffer overflow"; that term's already got a completely different meaning and misusing it is only going to confuse things.)

The cake is a lie.
The cake is a lie.
The cake is a lie.