ListViewColumns Interface Reference

The ListViewColumns object provides methods to configure an ListView's columns. More...

List of all members.

Public Member Functions

 Remove ([in] VARIANT Index)
 Call this method to remove one item from the collection.
 Clear ()
 Removes all of the items from the collection.
 Add ([in] BSTR Text,[in, defaultvalue(100)] LONG Width,[in, defaultvalue(AL_LEFT)] LONG TextAlign,[out, retval] IDispatch **pItem)
 This method creates a new HeaderItem.

Properties

LPUNKNOWN R _NewEnum []
 Returns the enumerator for the collection.
VARIANT R Item [[in] long Index] []
 Returns the specified item in the collection.
long R Count []
 Returns the number of items in the collection.
VARIANT_BOOL RW Visible []
 Sets the ListView's columns header show state.
VARIANT_BOOL RW Flat []
 Specifies that the header items appear with the flat style.


Detailed Description

The ListViewColumns object provides methods to configure an ListView's columns.

The ListViewColumns object is an collection of HeaderItem objects.


Member Function Documentation

Add ( [in] BSTR  Text,
[in, defaultvalue(100)] LONG  Width,
[in, defaultvalue(AL_LEFT)] LONG  TextAlign,
[out, retval] IDispatch **  pItem 
)

This method creates a new HeaderItem.

Parameters:
Text Specifies the title of the HeaderItem.
Width Specifies the width of the HeaderItem.
TextAlign Specifies the text align of the HeaderItem.
Return values:
pItem HeaderItem object

Clear (  ) 

Removes all of the items from the collection.

Remove ( [in] VARIANT  Index  ) 

Call this method to remove one item from the collection.

Parameters:
Index The index of the element to remove or the element itself.


Property Documentation

LPUNKNOWN R _NewEnum

Returns the enumerator for the collection.

long R Count

Returns the number of items in the collection.

VARIANT_BOOL RW Flat

Specifies that the header items appear with the flat style.

VARIANT R Item[[in] long Index] (  ) 

Returns the specified item in the collection.

VARIANT_BOOL RW Visible

Sets the ListView's columns header show state.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:12:51 2015. (C) Veretennikov A. B. 2004-2015