|
-
Sep 29th, 2006, 07:56 PM
#1
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.
-
Sep 29th, 2006, 09:55 PM
#2
PowerPoster
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.
Last edited by BrailleSchool; Sep 29th, 2006 at 10:00 PM.
-
Sep 29th, 2006, 10:12 PM
#3
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.
-
Sep 29th, 2006, 10:37 PM
#4
Re: Restricting Column Resizing in a ListView
Last edited by iPrank; Sep 29th, 2006 at 10:40 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|