Carbon


LCellSize

Header: Lists.h Carbon status: Supported

Changes the size of cells in a list.

void LCellSize (
    Point cSize, 
    ListHandle lHandle
);
cSize

The new size of each cell in the list. This function sets the cellSize field of the list record of the list to the value of the cSize parameter. That is, the list’s new cells will be of width cSize.h and of height cSize.v.

All cells in a list must be the same size

lHandle

The list whose cells’ size is being changed.

DISCUSSION

The function updates the list’s visible rectangle to contain cells of the specified size. However, it does not redraw any cells.

SPECIAL CONSIDERATIONS

This function is contained in a resource of resource type 'PACK'. Calling it could result in the loading of the package resource and the allocation of memory. Thus, your application should not call this function from within an interrupt, such as in a completion function or VBL task.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 3/23/2000)