Fix ListView Bugs
Robert Shearman
R.J.Shearman at warwick.ac.uk
Fri May 16 18:28:51 CDT 2003
> -----Original Message-----
> From: Dimitrie O. Paun [mailto:dpaun at rogers.com]
> Sent: 17 May 2003 00:10
> To: Robert Shearman
> Cc: wine-devel at winehq.com
> Subject: Re: Fix ListView Bugs
>
> So, if I understand you correctly, if I insert a new column at
> position i, then all items from [0..i] stay put, i+1 becomes
> the new (empty column), and all items that were before at
> postion [i+1, ..] get shifted to postion [i+2, ...]
No, the inserted column becomes the empty one. Sorry, I should have made
this a bit clearer.
> Somehow this doesn't seem right: why do I get the new column
> at i+1 if I inserted at i? I think I'm off by one...
The new column becomes the i'th column. E.g. (inserting at column 2):
0 | 1 | 2 | 3
X X X X
0 | 1 | 2 | 3 | 4
X X X X
0->0, 1->1, 2->3, 3->4
Hope this makes things clearer,
Rob
More information about the wine-devel
mailing list