From a02f3de89e5abada49ab07acf01abb6ee7bd8d05 Mon Sep 17 00:00:00 2001 From: Gerard Patel Date: Tue, 21 Aug 2001 17:04:02 +0000 Subject: [PATCH] Rect returned by LISTVIEW_GetItemRect should be total size in report mode. --- dlls/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index bf2b397812e..4d1adce2be9 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5584,7 +5584,7 @@ static LRESULT LISTVIEW_GetItemRect(HWND hwnd, INT nItem, LPRECT lprc) lprc->top = ptItem.y; lprc->bottom = lprc->top + infoPtr->nItemHeight; - if (infoPtr->dwExStyle & LVS_EX_FULLROWSELECT) + if ((infoPtr->dwExStyle & LVS_EX_FULLROWSELECT) || (uView == LVS_REPORT)) { RECT br; int nColumnCount = Header_GetItemCount(infoPtr->hwndHeader);