http://bugs.winehq.org/show_bug.cgi?id=7344
------- Additional Comments From flexo@holycrap.org 2007-24-02 13:50 ------- Okay, seems there are 3 causes:
1. The major flickering of the header control is caused by a missing UpdateWindow() in the WM_PAINT handler. I sent a fix for this to wine-patches: http://winehq.org/pipermail/wine-patches/2007-February/036303.html
2. The major flickering in the listview itself is caused by our WM_ERASEBKGND handler - native comctl23 returns FALSE, forwarding the erasing to the application for some reason. I've yet to figure out why it does that - the only reason MSDN gives would be a bkclr of CLR_NONE but this is not the case here. Inserting "return FALSE;" fixes this but that's probably a hack (however, since everything looks still fine I'm not even sure about that)
3. Unknown. With the patch for 1. and the hack for 2. applied there seems to remain some (rather minor) flickering which doesn't appear with native comctl32.