wListCtrl

A list control presents lists in a number of formats: list view, report view, icon view and small icon view.

Appearance:
Superclass:wControl
Styles:
StylesDescription
wLcListMulticolumn list view.
wLcReportSingle or multicolumn report view, with optional header.
wLcIconLarge icon view, with optional labels.
wLcSmallIconSmall icon view, with optional labels.
wLcAlignTopIcons align to the top. Win32 default, Win32 only.
wLcAlignLeftIcons align to the left.
wLcAutoArrangeIcons arrange themselves. Win32 only.
wLcNoSortHeaderColumn headers do not work like buttons.
wLcNoHeaderNo header in report mode.
wLcEditLabelsLabels are editable.
wLcSingleSelSingle selection (default is multiple).
wLcSortAscendingSort in ascending order.
wLcSortDescendingSort in descending order.
Events:wListEvent

Types

wListCtrl_Compare = proc (item1: int; item2: int; data: int): int
Comparing callback function prototype used in sortItems() and sortItemsByIndex()

Consts

wLcList = 0x00000003
wLcReport = 0x00000001
wLcIcon = 0x00000000
wLcSmallIcon = 0x00000002
wLcAlignTop = 0x00000000
wLcAlignLeft = 0x00000800
wLcAutoArrange = 0x00000100
wLcNoSortHeader = 0x00008000
wLcNoHeader = 0x00004000
wLcEditLabels = 0x00000200
wLcSingleSel = 0x00000004
wLcSortAscending = 0x00000010
wLcSortDescending = 0x00000020
wListImageCallback = -1
wListImageNone = -2
wListAutosize = -1
wListAutosizeUseHeader = -2
wListIgnore = -3
wImageListNormal = 0
wImageListSmall = 1
wImageListState = 2
wListFormatLeft = 0x00000000
wListFormatRight = 0x00000001
wListFormatCenter = 0x00000002
wListStateFocused = 0x00000001
wListStateSelected = 0x00000002
wListStateDropHighlighted = 0x00000008
wListStateCut = 0x00000004
wListRectBounds = 0
wListRectIcon = 1
wListRectLabel = 2
wListRectSelectBounds = 3
wListHittestAbove = 0x00000008
wListHittestBelow = 0x00000010
wListHittestToLeft = 0x00000040
wListHittestToRight = 0x00000020
wListHittestNoWhere = 0x00000001
wListHittestOnItemLabel = 0x00000004
wListHittestOnItemIcon = 0x00000002
wListHittestOnItemStateIcon = 0x00000008
wListAlignDefault = 0x00000000
wListAlignLeft = 0x00000001
wListAlignTop = 0x00000002
wListAlignSnapToGrid = 0x00000005
wListNextAll = 0x00000000
wListNextPrevious = 0x00000020
wListNextAbove = 0x00000100
wListNextBelow = 0x00000200
wListNextLeft = 0x00000400
wListNextRight = 0x00000800
wListStateDontCare = 0