List Manager Functions


Accessing and Manipulating Cell Data
LAddToCell Appends data to the data already contained in a cell.
LClrCell Clears the data contained in a cell.
LGetCell Copies a cell’s data.
LGetCellDataLocation Finds the memory location of cell data.
LSetCell Changes the data contained in a cell.

Adding and Deleting Columns and Rows To and From a List
LAddColumn Adds one or more columns to a list.
LAddRow Adds one or more rows to a list.
LDelColumn Deletes one or more columns from a list.
LDelRow Deletes one or more rows from a list.

Changing the Size of Cells and Lists
LCellSize Changes the size of cells in a list.
LSize Changes the size of a list.

Creating and Disposing of Lists
LDispose Disposes of the memory associated with a list.
LNew Creates a new list in a window.

Creating and Managing Universal Procedure Pointers
DisposeListClickLoopUPP Disposes of the universal procedure pointer (UPP) to a list click loop callback function.
DisposeListDefUPP Disposes of the universal procedure pointer (UPP) to a list definition callback function.
DisposeListSearchUPP Disposes of the universal procedure pointer (UPP) to a list search callback function.
InvokeListClickLoopUPP Calls your list click loop callback function.
InvokeListDefUPP Calls your list definition callback function.
InvokeListSearchUPP Calls your list search callback function
NewListClickLoopUPP Creates a new universal procedure pointer (UPP) to a list click loop callback function.
NewListDefUPP Creates a new universal procedure pointer (UPP) to a list definition callback function.
NewListSearchUPP Creates a new universal procedure pointer (UPP) to a list search callback function.

Determining or Changing the Selection
LGetSelect Gets information about which cells are selected.
LSetSelect Selects or deselects a cell.

Getting Information About Cells
LLastClick Determines the coordinates of the last cell clicked in a particular list.
LNextCell Finds the next cell in a given row, in a given column, or in an entire list.
LRect Finds a rectangle that encloses a cell.

Modifying a List’s Appearance
LAutoScroll Scrolls a list so that the first selected cell is in the upper-left corner of the list’s visible rectangle.
LDraw Draws a cell in a list.
LScroll Scrolls a list a specified number of rows and columns.
LSetDrawingMode Changes the automatic drawing mode specified when creating a list.

Responding to Events Affecting Lists
LActivate Activates or deactivates a list.
LClick Processes a mouse-down event in a list.
LUpdate Responds to an update event.

Searching a List for a Particular Item
LSearch Finds a cell whose data matches data that you specify.

Miscellaneous
CreateCustomList
GetListActive
GetListCellIndent
GetListCellSize
GetListClickLocation
GetListClickLoop
GetListClickTime
GetListDataBounds
GetListDataHandle
GetListDefinition
GetListFlags
GetListHorizontalScrollBar
GetListMouseLocation
GetListPort
GetListRefCon
GetListSelectionFlags
GetListUserHandle
GetListVerticalScrollBar
GetListViewBounds
GetListVisibleBounds
GetListVisibleCells
laddtocell
lcellsize
lclick
lclrcell
ldraw
lgetcell
lgetcelldatalocation
lnew
lrect
lsetcell
LSetLDEF
LSetNotificationCallback
lsetselect
RegisterListDefinition
SetListCellIndent
SetListClickLoop
SetListClickTime
SetListDefinitionProc
SetListFlags
SetListLastClick
SetListPort
SetListRefCon
SetListSelectionFlags
SetListUserHandle
SetListViewBounds


© 2001 Apple Computer, Inc. (Last Updated July 17, 2001)