Results 1 to 2 of 2

Thread: ListView flicker driving me crazy!

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    14
    I'm adding pictures to an image list and then adding items to a listView using those images. I add an image, then add an item, add another image, then add another item, etc. I'm doing this so they can see each item added. (Each image takes some time to load into the image list because I have to open a picture, then save it as a small thumbnail size image and then load it into the image list.

    Every time I add a new image to the image list, the listview flickers. I can use lockWindowUpdate, but then it flickers when I unlock it.

    It's my understanding that the flicker happens because each time I want to add a new icon to the listView, it has to erase them all and then repaint them. Is there some message or something I can intercept so that it doesn't erase each icon before drawing the new ones?

    Please, please help. Thank you very much for any ideas!

  2. #2
    Addicted Member jeroenh's Avatar
    Join Date
    Aug 2000
    Location
    Rotterdam, Holland
    Posts
    201
    Have you tried using the ClipControls Property.
    It's used on the form. I don't know if it works, but maybe you can give it a try.
    Catch you later,

    Jeroen Hoekemeijer
    Code:
    If 1 = 2 Then MajorError

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width