Rect returned by LISTVIEW_GetItemRect should be total size in report

mode.
This commit is contained in:
Gerard Patel 2001-08-21 17:04:02 +00:00 committed by Alexandre Julliard
parent e8829c01e6
commit a02f3de89e
1 changed files with 1 additions and 1 deletions

View File

@ -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);