Restricting Column Resizing in a ListView
I have headers on my ListView, and don't want the user to be able to resize them. I've gone through every property I know of that seems like it could have anything to do with this and I can't find a way to lock the size of the columns.. anyone know of a way? If not, I can always hide the columns and build my own headers, I just don't want to unless I have to.
Re: Restricting Column Resizing in a ListView
if i am not mistaken, the listview doesnt have a resize event so you cant use that but it might be that you might have to subclass the listview maybe?
i dont know if this will work but you might be able to use the mousemove event to check to see if the mouse is moving when the column header is increasing/decreasing and if this is happening, then to revert to the original width that you would also have to specify.
Re: Restricting Column Resizing in a ListView
that's what I thought. It's not worth the trouble to bother doing that, though, so I'm just going to make my own header.
Re: Restricting Column Resizing in a ListView