![]() |
LCellSize |
||||
Header: | Lists.h | Carbon status: | Supported | |
Changes the size of cells in a list.
void LCellSize ( Point cSize, ListHandle lHandle );
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 lists new cells will be of width cSize.h and of height cSize.v.
All cells in a list must be the same size
The list whose cells size is being changed.
The function updates the lists visible rectangle to contain cells of the specified size. However, it does not redraw any cells.
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.
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.