http://bugs.winehq.org/show_bug.cgi?id=7963
--- Comment #9 from rasz citizenr@gmail.com 2008-01-28 18:35:07 --- blah i cant attach the pic here direclty so using imageshack
how it looks with wine hacks http://img175.imageshack.us/my.php?image=clipboard01mk8.jpg
how it looks with NO wine hacks http://img175.imageshack.us/my.php?image=clipboard02cq7.jpg
no checkboxes no listview nothing
Detailf of the hacks I got from Ryan: -------------------- Ryan Norton BitTorrent Developer
1) CDDS_ITEMPOSTPAINT doesn't get sent for the first column of listviews. All versions of windows we've tested (95, 98, XP, Vista) do this correctly, so it seems to be just WINE being lame. A "workaround" (i.e. superuglyhack) is to simply fallthrough from CDDS_ITEMPREPAINT for the first column.
2) of the NMLVCUSTOMDRAW, the behaviour of WINE and normal Windows seems quite different when nmcd.uItemState is 0. Normally, in some custom draw handlers we skip the handler in this case for normal windows, but for WINE we have to do the opposite. More tested would be required to find out the exact differences.
3) WINE doesn't preserve the native background color across calls to CDDS_ITEMPOSTPAINT at least with listviews. Windows does.
4) WINE doesn't handle custom drawing on listviews well at all. On Windows < XP we have some workarounds for flickering (basically double-buffering of a sort), but on WINE it makes the background of the listviews go black.
5) WINE does some really funky stuff when we try to subclass the messagebox. We can try to put controls on it etc., but WINE doesn't let us or something, and the controls don't appear and in fact messages to them seem screwed up. Again, I'm not exactly sure of the problem here, a lot more testing would be needed (basically try putting a checkbox control on the messagebox and watch it fail). --------------------
I think the first one is uset here