List View Column Sizes 
Author Message
 List View Column Sizes

Using VB6, is there any way to make a column in a List View hidden so it
can't be opened up. Just setting the column width to 0 does not work.

Thanks

Tim



Mon, 14 Feb 2005 22:17:24 GMT  
 List View Column Sizes
This sample shows a way to lock the width of a listview column...

Subclassing and Responding to Notifications from the ListView Header
http://www.mvps.org/vbnet/index.html?code/subclass/lvheadernotificati...

--
Ken Halter - MS-MVP-VB - Please keep it in the groups..
http://www.vbsight.com - http://www.vbsight.com/MultiColumn.htm
New Tabbed Dialog http://www.vbsight.com/TBGDialogCTL.htm


Quote:
> Using VB6, is there any way to make a column in a List View hidden so
> it can't be opened up. Just setting the column width to 0 does not
> work.

> Thanks

> Tim



Mon, 14 Feb 2005 22:22:40 GMT  
 List View Column Sizes
If you are trying to hide a column of data, such as a Key Index, instead of
trying to hide a column look at the ListItem.Key and ListItem.Tag
properties.  You can store a string for each Item there.

David
lilchips.com


Quote:
> Using VB6, is there any way to make a column in a List View hidden so it
> can't be opened up. Just setting the column width to 0 does not work.

> Thanks

> Tim



Tue, 15 Feb 2005 13:15:44 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Display Bitmaps in Sub Items and column Headers of List View During Report View

2. List View Column - - Possible items in a Single Column

3. Listview v.6.0 column size in small icon view

4. Listview small icon view column size

5. Formatting Column in List View

6. List View Columns

7. Sorting the content of list view on clicking column headers

8. Icons in List View Columns

9. List View Column Headers

10. Column width of List view

11. List View Column Sorting

12. List View Columns

 

 
Powered by phpBB® Forum Software