Huw Davies <huw@xxxxxxxxxxxxxxx> A multicolumn listview should get a customdraw notification for the item as well as one for subitem 0. -- Huw Davies huw@xxxxxxxxxxxxxxx Index: dlls/comctl32/listview.c =================================================================== RCS file: /home/wine/wine/dlls/comctl32/listview.c,v retrieving revision 1.374 diff -u -r1.374 listview.c --- dlls/comctl32/listview.c 11 Nov 2003 00:26:15 -0000 1.374 +++ dlls/comctl32/listview.c 12 Nov 2003 12:48:04 -0000 @@ -3599,6 +3599,12 @@ cdsubitemmode = notify_customdraw(infoPtr, CDDS_PREPAINT, &nmlvcd); if (nSubItem == 0) infoPtr->cditemmode = cdsubitemmode; if (cdsubitemmode & CDRF_SKIPDEFAULT) goto postpaint; + /* we have to send a CDDS_SUBITEM customdraw explicitly for subitem 0 */ + if (nSubItem == 0 && cdsubitemmode == CDRF_NOTIFYITEMDRAW) + { + cdsubitemmode = notify_customdraw(infoPtr, CDDS_SUBITEM | CDDS_ITEMPREPAINT, &nmlvcd); + if (cdsubitemmode & CDRF_SKIPDEFAULT) goto postpaint; + } if (nSubItem == 0 || (cdmode & CDRF_NOTIFYITEMDRAW)) prepaint_setup(infoPtr, hdc, &nmlvcd);