I have a subclassed ListView
I noticed that everytime i add an item CDDS_ITEMPREPAINT is called twice
(same for CDDS_ITEMPOSTPAINT)
Is there a way to avoid that?
Or am i doing sth wrong?
Havingsome real problems using the Draw method on a Listview canvas. I am
able to draw on this canvas but then, when scrolling the Listview I can only
fill the extra area shown with the exact size slice of the bitmap. It is
almost as if the new Draw call has written the new bitmap UNDER the previous
bitmap. Hence I'm getting a stagered effect on the bitmap. I have tried
every different Copymode and still cannot get the new bitmap to overwrite
the previously drawn Bitmap totally. All I think I need to do is clear the
canvas back to its original state but I don't know how to do this.
Any help would, once again be great