Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: CrAz3D on March 01, 2005, 06:44 PM

Title: Odd listview problem
Post by: CrAz3D on March 01, 2005, 06:44 PM
(http://68.35.184.146/xeno/images/weird2.gof)
Notice how some of the icons are doubled over each other?... yeah, weird

If I minimize the bot they show up normal, how could I fix this?
Title: Re: Odd listview problem
Post by: Warrior on March 01, 2005, 06:50 PM
.Refresh
Title: Re: Odd listview problem
Post by: CrAz3D on March 01, 2005, 06:51 PM
Hmm, too bad, do that everytime I addsomething/remove something?
Title: Re: Odd listview problem
Post by: Blaze on March 01, 2005, 08:35 PM
I don't have that problem ever. :-\
Title: Re: Odd listview problem
Post by: CrAz3D on March 01, 2005, 10:06 PM
I haven't had it before, I was just wondering if it might be something a bit odd that I did.  But it shouldn't be, I used same code as I usually do when dealing with listviews.
Title: Re: Odd listview problem
Post by: Stealth on March 02, 2005, 07:44 PM
Are you, by any chance, disabling (.Enabled = False) the listview before adding things to it, then re-enabling (.Enabled = True) it when you're done? Give that a shot. .Refresh is really CPU-heavy because it forces Windows to repaint everything.
Title: Re: Odd listview problem
Post by: CrAz3D on March 02, 2005, 09:55 PM
k, thnx for that bit of info