Re: [PATCH] comctl32/listview: Derive subitem rect from listview origin
17 May
2010
17 May
'10
11:19 p.m.
On 5/18/2010 02:36, Andrew Eikum wrote:
The old code used the containing item's position to determine the subitem's rect. Instead, we should be using the entire listview's origin as the offset, since the item position can change as columns are inserted and re-arranged, leading to broken listviews. --- dlls/comctl32/listview.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Looks right. Seems to be (one?) of remaining problem that comes out after I added column reordering. Please add a minimal test case for this to prevent a regression. All you need - add 2 columns, add item, reorder columns with a LVM_SETCOLUMNORDERARRAY and test rectangle.
5779
Age (days ago)
5779
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov