I want to use the ListView with larger images.
For this I use the ImageList with images of 120x80 pixels.
Now for each ListItem I have two images.
With a timer I want to alternate the imahes like:
Private Sub Timer1_Timer() Dim i As Integer For i = 1 To ListView1.ListItems.Count If ListView1.ListItems(i).Icon = 1 Then ListView1.ListItems(i).Icon = 2 Else ListView1.ListItems(i).Icon = 1 End If Next i End Sub
This works perfectly. Except that on some displays it flickers visibly.
This happens on a larger window with about 50 images.
It appears to redraw the complete contents.
Has anyone a suggestion what I can do about this.
I should add that (unfortunately) I use Visual Basic v4.0.
Thanks in advance, Jean Pion.