Click here to Skip to main content
16,015,973 members
Articles / Desktop Programming / Windows Forms

Disable Column Resizing in ListView Report Mode

Rate me:
Please Sign up or sign in to vote.
3.94/5 (9 votes)
13 Mar 2006CPOL3 min read 76.9K   16  
This article describes how to use the NativeWindow object to take control of the message processing of a ListView's column header. This allows the programmer to intercept messages and prevent or respond to things like column resizing.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
I've worked in the industry since 1992. After the dot com crash of 2001, I went back to school and graduated from the University of North Texas in 2005. I now live in the Dallas area with my wife and two children, and work as a senior software engineer for a local company.

I first learned to program on a Commodore 64 when I was 12 years old. The rest is history...

Comments and Discussions