Rect returned by LISTVIEW_GetItemRect should be total size in report
mode.
This commit is contained in:
parent
e8829c01e6
commit
a02f3de89e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue