negative listview column width in WinZip 8.0

Mike McCormack mike_mccormack at start.com.au
Fri Sep 14 01:51:22 CDT 2001


> > This patch prevents column widths from being negative.
> AFAIK, -1 and -2 and maybe others are special values that tell the
list view 
> to adjust the contents to the widest item and something else I
cannot 
> remember exactly (sorry, no Windows available ATM).

OK. Here's another try. Instead of setting the width to zero if it is
negative, negative widths are ignored when used. That's not totally
correct, but it's better than before.

Now to figure out why the subitems aren't displayed.

Mike


ChangeLog:
* ignore negative widths in HEADER_SetItemBounds



------------------------------------------
mailto:Mike_McCormack at start.com.au
ph +82 16 430 0425

__________________________________________________________________
Get your free Australian email account at http://www.Looksmart.com.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neg_width2.diff
Type: application/octet-stream
Size: 601 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010914/a3b3e2e0/neg_width2.obj


More information about the wine-patches mailing list