Home: Perl Programming Help: Win32 Programming Help:
populating ListView

New User

Jul 22, 2010, 11:30 AM

Views: 12787
populating ListView

I have a ListView object, but how do I add strings to it? I want to be able to scroll through and select the strings I want, but after many attempts of different ways to populate the list, nothing shows up in the list.


Jul 22, 2010, 4:22 PM

Views: 12761
Re: [tdicamillo] populating ListView

What code have you tried so far?


New User

Jul 23, 2010, 6:11 AM

Views: 12694
Re: [Zhris] populating ListView

I figured it out... the trick was to first use InsertItem and then use SetItem to set the text for that item. Tried about 800 other combinations of InsertItem() and Add() before getting this. It makes sense now, but the documentation about ListView objects in PERL is pretty vague.