Problem with listview

  • Thread starter Thread starter Andrea
  • Start date Start date
A

Andrea

Hi!

When I try to autowidth (width=-1 or width=-2) first column of the listview (in Detail mode) the contents appears truncated with three dots ended.
This problem occurs only when program runs with XP Styles active (with manifest file).



VS 2002/Windows XP SP1/Framework 1.0 SP2 (all Italian)

Sorry for my English!

Andrea
 
Hi Andrea,

This is a known issue. Please refer to the following article:

822487 BUG: The Column Width of a ListView Control Is Not Preserved When You
http://support.microsoft.com/?id=822487

You may be able to work around this issue by manually setting the size of the
column per the sample code in the following article:

317546 BUG: ListView.ColumnHeaderCollection.Add Method Does Not Work with
http://support.microsoft.com/?id=317546


Hope this helps!
Bharat Patel
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.
 
Back
Top