Carbon


LSetSelect

Header: Lists.h Carbon status: Supported

Selects or deselects a cell.

void LSetSelect (
    Boolean setIt, 
    Cell theCell, 
    ListHandle lHandle
);
setIt

Indicates whether the function should select or deselect the specified cell. Specify TRUE to select the cell. If the cell is already selected, the function does nothing. Specify FALSE to deselect the cell. If the cell is already deselected, the function does nothing.

theCell

The cell to be selected or deselected.

lHandle

The list containing the cell to be selected or deselected.

DISCUSSION

If a cell’s selection status is changed and the cell is visible, LSetSelect redraws the cell.

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)