PC Review


Reply
Thread Tools Rate Thread

How do I show/hide columns in ListView?

 
 
=?Utf-8?B?TXJOb2JvZHk=?=
Guest
Posts: n/a
 
      31st Oct 2006
what's the trick in showing/hiding columns in ListView's Details view mode?

I can change a columns width to 0 and it effectively makes it disappear but
then you can actually resize the column to bring it back into view.

Is there any way to disable resizing for just that one column?

Any other way to do this?
 
Reply With Quote
 
 
 
 
Basil Abusamrah
Guest
Posts: n/a
 
      31st Oct 2006
MrNobody,

I don't believe there's any other way to hide a column in a listview
control. What you could do, however, is grab the resize events of that
column and keep the width at zero.

Basil

MrNobody wrote:
> what's the trick in showing/hiding columns in ListView's Details view mode?
>
> I can change a columns width to 0 and it effectively makes it disappear but
> then you can actually resize the column to bring it back into view.
>
> Is there any way to disable resizing for just that one column?
>
> Any other way to do this?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show long labels on ListView columns? Arto Viitanen Microsoft Dot NET Framework Forms 4 21st Dec 2007 11:02 AM
Hide some columns of listview =?Utf-8?B?TGkgUGFuZw==?= Microsoft VB .NET 3 21st Mar 2006 10:17 AM
how can hide and show columns using macro? =?Utf-8?B?SG9zaHlhcg==?= Microsoft Excel Worksheet Functions 4 2nd Sep 2005 03:45 PM
Show/Hide Columns =?Utf-8?B?U3RlcGhhbmllSA==?= Microsoft Excel Programming 8 24th Jun 2005 02:16 PM
DataGrid: Way to show hide columns ? Jeff M Microsoft Dot NET Compact Framework 4 6th Aug 2003 05:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 PM.