Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.
How to hide a column in list view control?
Set to "0" width is not variant.

Thank you.
Posted

1 solution

There is no specific message that I am aware of that will hide a column. If you cannot use a zero width, then I guess you need to delete the column from the ListView, and restore it when needed again.
 
Share this answer
 
Comments
Chuck O'Toole 2-Jan-12 12:12pm    
Yeah, that's what I have to do.
Richard MacCutchan 2-Jan-12 13:27pm    
Thanks for the confirmation, I didn't have time to test it myself.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900