Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Hide a column in a listview?
Can I hide a column in a listview?  Currently, I am setting the column width
to 0 but the user can still drag the column open.

--

Thanks.




Report this thread to moderator Post Follow-up to this message
Old Post
Saucer Man
10-30-04 08:55 PM


Re: Hide a column in a listview?
: Can I hide a column in a listview?

No.

: Currently, I am setting the column width
: to 0 but the user can still drag the column open.

That's about the only way. You can nail it down using subclassing, as shown
on my site, or you can opt to unload/reconfigure the headers/reload the data
if the goal is to produce a control that can either hide or show columns as
the user prefers.

--


Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/


"Saucer Man" <saucerman@nospam.com> wrote in message
news:35Ogd.19366$%I7.13313@newssvr31.news.prodigy.com...
: Can I hide a column in a listview?  Currently, I am setting the column
width
: to 0 but the user can still drag the column open.
:
: --
:
: Thanks.
:
:
:


Report this thread to moderator Post Follow-up to this message
Old Post
Randy Birch
10-30-04 08:55 PM


Re: Hide a column in a listview?
Thanks.  It's not too big a deal the way it is now so I will leave it.

--

Thanks again.


"Randy Birch" <rgb_removethis@mvps.org> wrote in message
news:%23xfOmKpvEHA.3908@TK2MSFTNGP12.phx.gbl...
>: Can I hide a column in a listview?
>
> No.
>
> : Currently, I am setting the column width
> : to 0 but the user can still drag the column open.
>
> That's about the only way. You can nail it down using subclassing, as
> shown
> on my site, or you can opt to unload/reconfigure the headers/reload the
> data
> if the goal is to produce a control that can either hide or show columns
> as
> the user prefers.
>
> --
>
>
> Randy Birch
> MS MVP Visual Basic
> http://vbnet.mvps.org/
>
>
> "Saucer Man" <saucerman@nospam.com> wrote in message
> news:35Ogd.19366$%I7.13313@newssvr31.news.prodigy.com...
> : Can I hide a column in a listview?  Currently, I am setting the column
> width
> : to 0 but the user can still drag the column open.
> :
> : --
> :
> : Thanks.
> :
> :
> :
>



Report this thread to moderator Post Follow-up to this message
Old Post
Saucer Man
10-30-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:10 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.