Hi!

I've wrote ownerdraw listbox class, derived from CListbox, which has 3
buttons on every item. The problem is that the whole component is flickering
while scrolling when there's, let's say, over 20 items. I suspect the reason
is that every button gets WM_PAINT when listbox is scrolled but I don't know
the solution how to prevent it from flickering. Maybe I should use double
buffering somehow, but this method is connected with painting on DC not
creating windows..



thanks for any help


Marcin