Question : Can I disable ListView column resizing?

I would like to disable resizing of only one column in my listview box.  It's in details view, and I've got 9 columns.  The column on the end needs to remain zero.  

Answer : Can I disable ListView column resizing?

Yes you can.
For your listview control implement a handler for ColumnWidthChanging event and insert following code.
1:
2:
3:
4:
5:
6:
7:
8:
9:
private void listViewMain_ColumnWidthChanging(object sender, ColumnWidthChangingEventArgs e)
{
 
    if (e.ColumnIndex == 8)
    {
        e.NewWidth = 0;
        e.Cancel = true;
    }
}
Random Solutions  
 
programming4us programming4us