comctl32: listview: A CDRF_SKIPDEFAULT for an item should skip the whole row.

This commit is contained in:
Mikołaj Zalewski 2007-01-13 23:49:23 +01:00 committed by Alexandre Julliard
parent c122260b9d
commit 495455c0f8
1 changed files with 1 additions and 0 deletions

View File

@ -3749,6 +3749,7 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, INT nS
hOldFont = GetCurrentObject(hdc, OBJ_FONT);
if (nSubItem > 0) cdmode = infoPtr->cditemmode;
if (cdmode & CDRF_SKIPDEFAULT) goto postpaint;
if (cdmode & CDRF_NOTIFYITEMDRAW)
cdsubitemmode = notify_customdraw(infoPtr, CDDS_PREPAINT, &nmlvcd);
if (nSubItem == 0) infoPtr->cditemmode = cdsubitemmode;