Listview delete column zero

Duane Clark dclark at akamail.com
Thu Feb 13 22:06:22 CST 2003


Duane Clark wrote:
> While the MSDN specifically says that column zero should not be deleted,
> it does in fact work on WinNT, and at least one app depends on it. On
> WinNT, deleting column zero deletes the last column of items but the
> first header. Since no app will ever depend on that bizarre behavior,
> we just delete the last column including the header.
> 

I probably should have mentioned why the app deletes column zero. It 
repeatedly deletes column zero, testing the returned Boolean until it 
gets false, and then it starts inserting new columns. So it ends up 
completely replacing the listview contents.





More information about the wine-devel mailing list