Enumeration ListViewCommand

Enumeration of commands for interacting with a list view control.

Enumeration Members

DeSelect: "DeSelect"

Deselects one or more items.

FindItem: "FindItem"

Returns the item index of the string. Returns -1 if the string is not found.

GetItemCount: "GetItemCount"

Returns the number of list items.

GetSelected: "GetSelected"

Returns a string containing the item index of selected items. If option=0 (default) only the first selected item is returned. If option=1 then all the selected items are returned delimited by |, e.g: "0|3|4|10". If no items are selected a blank "" string is returned.

GetSelectedCount: "GetSelectedCount"

Returns the number of items that are selected.

GetSubItemCount: "GetSubItemCount"

Returns the number of subitems.

GetText: "GetText"

Returns the text of a given item/subitem.

IsSelected: "IsSelected"

Returns 1 if the item is selected, otherwise returns 0.

Select: "Select"

Selects one or more items.

SelectAll: "SelectAll"

Selects all items.

SelectClear: "SelectClear"

Clears the selection of all items.

SelectInvert: "SelectInvert"

Inverts the current selection.

ViewChange: "ViewChange"

Changes the current view. Valid views are "list", "details", "smallicons", "largeicons".