ListView should behave in OWNERDRAW as in FULLROWSELECT. This allows

to select cells not in the first column in REPORT mode with OWNERDRAW
style set.
oldstable
Fabian Cenedese 2004-02-17 22:47:51 +00:00 committed by Alexandre Julliard
parent 997ce1926e
commit 7142a4e0b2
1 changed files with 3 additions and 1 deletions

View File

@ -5980,7 +5980,9 @@ static INT LISTVIEW_HitTest(LISTVIEW_INFO *infoPtr, LPLVHITTESTINFO lpht, BOOL s
}
}
if (select && !(uView == LVS_REPORT && (infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT)))
if (select && !(uView == LVS_REPORT &&
((infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT) ||
(infoPtr->dwStyle & LVS_OWNERDRAWFIXED))))
{
if (uView == LVS_REPORT)
{