Click here to Skip to main content
15,882,113 members
Articles / Programming Languages / C#

Autosize the last column in a ListView control using WndProc

Rate me:
Please Sign up or sign in to vote.
4.59/5 (30 votes)
24 Nov 20023 min read 312.8K   67  
Shows a quick and dirty way to auto-size the last column of a ListView control.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Chris Beckett has been contributing to the analysis, design and development of distributed enterprise-level business systems for more than 16 years, with more than 10 years in a technical leadership role. He has delivered systems in the government, banking, broadcasting, entertainment, manufacturing, and finance industries.

Chris Beckett continues to be an active .NET architect, designer and developer, and a strong advocate for best practices in Quality Assurance and Lifecycle Management.

Comments and Discussions