ListControlItem Interface Reference

A ListItem object represents second argument in the OnDrawItem event handler. More...

List of all members.

Properties

BSTR R Text []
 Returns the text of the item.
LONG R ImageIndex []
 Returns the image index of the item in the Images.
VARIANT_BOOL R Selected []
 Returns the selection state of the item.
VARIANT_BOOL R Focused []
 Returns the focused state of the item.
LONG R Index []
 Returns the index of the item.
IDispatch *RW Font []
 Returns or sets the Font for the item.
ULONG RW TextBkColor []
 Returns or sets the background color for the item.
VARIANT R ItemData []
IDispatch *RW Brush []
ULONG RW Indent []
 Sets or retrieves the number of pixels to indent the item.


Detailed Description

A ListItem object represents second argument in the OnDrawItem event handler.

With this object font and colors of an list element can be specified in the OnDrawItem event handler.

Since:
1.1.12.
See also:
CustomDraw.


Property Documentation

IDispatch* RW Brush

VARIANT_BOOL R Focused

Returns the focused state of the item.

See also:
ItemIndex.

IDispatch* RW Font

Returns or sets the Font for the item.

LONG R ImageIndex

Returns the image index of the item in the Images.

See also:
ImageIndex.

ULONG RW Indent

Sets or retrieves the number of pixels to indent the item.

LONG R Index

Returns the index of the item.

VARIANT R ItemData

VARIANT_BOOL R Selected

Returns the selection state of the item.

See also:
Selected.

BSTR R Text

Returns the text of the item.

See also:
Item.

ULONG RW TextBkColor

Returns or sets the background color for the item.

If COLOR_NONE then component's color used. Default value: COLOR_NONE.


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