Product Documentation

ActivePython 2.4 Documentation


TV_ITEM Object

Describes a TV_ITEM tuple, used by the PyCListCtrl object. A tuple of 8 items:
When returned from a win32ui function, will always be a tuple of size 8, and items may be None if not available.
When passed to a win32ui function, the tuple may be any length up to 8, and any item may be None.

Items

[0] int : hItem

Item handle

[1] int : state

Item state. If specified, the stateMask must also be specified.

[2] int : stateMask

Item state mask

[3] string : text

Item text

[4] int : iImage

Offset of items image.

[5] int : iSelectedImage

Offset of items selected image.

[6] int : cChildren

Number of child items.

[7] int : lParam

User defined integer param.

Parameters

cxy : int

Width or height of item

pszText : string

Item text

text : string

Item text

fmt : int

code for centering etc of string

lParam : int

User defined integer param.