Carlos
Wed Sep 21 04:44:55 CDT 2005
I think that that will adjust the width of the last colum to the width of
the listview, not to the contents of the column.
A workaround is to add a dummy last column, auto-adjust the width of all
columns and then remove the dummy last column (doing it with BeginUpdate /
EndUpdate)
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"Jason Newell" <nospam@nospam.com> escribió en el mensaje
news:Oii7aYfvFHA.1560@TK2MSFTNGP09.phx.gbl...
> ColumnHeader.Width = -2
>
> Jason Newell
>
> WAkthar wrote:
>> Is there a way to automatically fill the last column width of a listview
>> control?